text: module.exports=(()=>{var __webpack_modules__={9674:e=>{"use strict";e.exports=JSON.parse('{"_args":[["@octokit/rest@16.43.2","/home/alvaro/code/turnstyle"]],"_from":"@octokit/rest@16.43.2","_id":"@octokit/rest@16.43.2","_inBundle":false,"_integrity":"sha512-ngDBevLbBTFfrHZeiS7SAMAZ6ssuVmXuya+F/7RaVvlysgGa1JKJkKWY+jV6TCJYcW0OALfJ7nTIGXcBXzycfQ==","_location":"/@octokit/rest","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"@octokit/rest@16.43.2","name":"@octokit/rest","escapedName":"@octokit%2frest","scope":"@octokit","rawSpec":"16.43.2","saveSpec":null,"fetchSpec":"16.43.2"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/@octokit/rest/-/rest-16.43.2.tgz","_spec":"16.43.2","_where":"/home/alvaro/code/turnstyle","author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"bugs":{"url":"https://github.com/octokit/rest.js/issues"},"bundlesize":[{"path":"./dist/octokit-rest.min.js.gz","maxSize":"33 kB"}],"contributors":[{"name":"Mike de Boer","email":"info@mikedeboer.nl"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Joe Gallo","email":"joe@brassafrax.com"},{"name":"Gregor Martynus","url":"https://github.com/gr2m"}],"dependencies":{"@octokit/auth-token":"^2.4.0","@octokit/plugin-paginate-rest":"^1.1.1","@octokit/plugin-request-log":"^1.0.0","@octokit/plugin-rest-endpoint-methods":"2.4.0","@octokit/request":"^5.2.0","@octokit/request-error":"^1.0.2","atob-lite":"^2.0.0","before-after-hook":"^2.0.0","btoa-lite":"^1.0.0","deprecation":"^2.0.0","lodash.get":"^4.4.2","lodash.set":"^4.3.2","lodash.uniq":"^4.5.0","octokit-pagination-methods":"^1.1.0","once":"^1.4.0","universal-user-agent":"^4.0.0"},"description":"GitHub REST API client for Node.js","devDependencies":{"@gimenete/type-writer":"^0.1.3","@octokit/auth":"^1.1.1","@octokit/fixtures-server":"^5.0.6","@octokit/graphql":"^4.2.0","@types/node":"^13.1.0","bundlesize":"^0.18.0","chai":"^4.1.2","compression-webpack-plugin":"^3.1.0","cypress":"^4.0.0","glob":"^7.1.2","http-proxy-agent":"^4.0.0","lodash.camelcase":"^4.3.0","lodash.merge":"^4.6.1","lodash.upperfirst":"^4.3.1","lolex":"^6.0.0","mkdirp":"^1.0.0","mocha":"^7.0.1","mustache":"^4.0.0","nock":"^11.3.3","npm-run-all":"^4.1.2","nyc":"^15.0.0","prettier":"^1.14.2","proxy":"^1.0.0","semantic-release":"^17.0.0","sinon":"^8.0.0","sinon-chai":"^3.0.0","sort-keys":"^4.0.0","string-to-arraybuffer":"^1.0.0","string-to-jsdoc-comment":"^1.0.0","typescript":"^3.3.1","webpack":"^4.0.0","webpack-bundle-analyzer":"^3.0.0","webpack-cli":"^3.0.0"},"files":["index.js","index.d.ts","lib","plugins"],"homepage":"https://github.com/octokit/rest.js#readme","keywords":["octokit","github","rest","api-client"],"license":"MIT","name":"@octokit/rest","nyc":{"ignore":["test"]},"publishConfig":{"access":"public"},"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"repository":{"type":"git","url":"git+https://github.com/octokit/rest.js.git"},"scripts":{"build":"npm-run-all build:*","build:browser":"npm-run-all build:browser:*","build:browser:development":"webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-rest.js --profile --json > dist/bundle-stats.json","build:browser:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=Octokit --output-path=./dist --output-filename=octokit-rest.min.js --devtool source-map","build:ts":"npm run -s update-endpoints:typescript","coverage":"nyc report --reporter=html && open coverage/index.html","generate-bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","lint":"prettier --check \'{lib,plugins,scripts,test}/**/*.{js,json,ts}\' \'docs/*.{js,json}\' \'docs/src/**/*\' index.js README.md package.json","lint:fix":"prettier --write \'{lib,plugins,scripts,test}/**/*.{js,json,ts}\' \'docs/*.{js,json}\' \'docs/src/**/*\' index.js README.md package.json","postvalidate:ts":"tsc --noEmit --target es6 test/typescript-validate.ts","prebuild:browser":"mkdirp dist/","pretest":"npm run -s lint","prevalidate:ts":"npm run -s build:ts","start-fixtures-server":"octokit-fixtures-server","test":"nyc mocha test/mocha-node-setup.js \\"test/*/**/*-test.js\\"","test:browser":"cypress run --browser chrome","update-endpoints":"npm-run-all update-endpoints:*","update-endpoints:fetch-json":"node scripts/update-endpoints/fetch-json","update-endpoints:typescript":"node scripts/update-endpoints/typescript","validate:ts":"tsc --target es6 --noImplicitAny index.d.ts"},"types":"index.d.ts","version":"16.43.2"}')},7351:function(e,t,r){"use strict";var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))t[r]=e[r];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});const s=i(r(2087));const n=r(5278);function issueCommand(e,t,r){const i=new Command(e,t,r);process.stdout.write(i.toString()+s.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const o="::";class Command{constructor(e,t,r){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=r}toString(){let e=o+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const i=this.properties[r];if(i){if(t){t=false}else{e+=","}e+=`${r}=${escapeProperty(i)}`}}}}e+=`${o}${escapeData(this.message)}`;return e}}function escapeData(e){return n.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return n.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(e,t,r){"use strict";var i=this&&this.__awaiter||function(e,t,r,i){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,s){function fulfilled(e){try{step(i.next(e))}catch(e){s(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())})};var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))t[r]=e[r];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});const n=r(7351);const o=r(717);const a=r(5278);const u=s(r(2087));const p=s(r(5622));var c;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(c=t.ExitCode||(t.ExitCode={}));function exportVariable(e,t){const r=a.toCommandValue(t);process.env[e]=r;const i=process.env["GITHUB_ENV"]||"";if(i){const t="_GitHubActionsFileCommandDelimeter_";const i=`${e}<<${t}${u.EOL}${r}${u.EOL}${t}`;o.issueCommand("ENV",i)}else{n.issueCommand("set-env",{name:e},r)}}t.exportVariable=exportVariable;function setSecret(e){n.issueCommand("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){o.issueCommand("PATH",e)}else{n.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${p.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r){throw new Error(`Input required and not supplied: ${e}`)}return r.trim()}t.getInput=getInput;function setOutput(e,t){n.issueCommand("set-output",{name:e},t)}t.setOutput=setOutput;function setCommandEcho(e){n.issue("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=c.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){n.issueCommand("debug",{},e)}t.debug=debug;function error(e){n.issue("error",e instanceof Error?e.toString():e)}t.error=error;function warning(e){n.issue("warning",e instanceof Error?e.toString():e)}t.warning=warning;function info(e){process.stdout.write(e+u.EOL)}t.info=info;function startGroup(e){n.issue("group",e)}t.startGroup=startGroup;function endGroup(){n.issue("endgroup")}t.endGroup=endGroup;function group(e,t){return i(this,void 0,void 0,function*(){startGroup(e);let r;try{r=yield t()}finally{endGroup()}return r})}t.group=group;function saveState(e,t){n.issueCommand("save-state",{name:e},t)}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState},717:function(e,t,r){"use strict";var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))t[r]=e[r];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});const s=i(r(5747));const n=i(r(2087));const o=r(5278);function issueCommand(e,t){const r=process.env[`GITHUB_${e}`];if(!r){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!s.existsSync(r)){throw new Error(`Missing file at path: ${r}`)}s.appendFileSync(r,`${o.toCommandValue(t)}${n.EOL}`,{encoding:"utf8"})}t.issueCommand=issueCommand},5278:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}t.toCommandValue=toCommandValue},334:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});async function auth(e){const t=e.split(/\./).length===3?"app":/^v\d+\./.test(e)?"installation":"oauth";return{type:"token",token:e,tokenType:t}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,t,r,i){const s=t.endpoint.merge(r,i);s.headers.authorization=withAuthorizationPrefix(e);return t(s)}const r=function createTokenAuth(e){if(!e){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof e!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}e=e.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,e),{hook:hook.bind(null,e)})};t.createTokenAuth=r},9440:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var i=r(3287);var s=r(1292);function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce((t,r)=>{t[r.toLowerCase()]=e[r];return t},{})}function mergeDeep(e,t){const r=Object.assign({},e);Object.keys(t).forEach(s=>{if(i.isPlainObject(t[s])){if(!(s in e))Object.assign(r,{[s]:t[s]});else r[s]=mergeDeep(e[s],t[s])}else{Object.assign(r,{[s]:t[s]})}});return r}function removeUndefinedProperties(e){for(const t in e){if(e[t]===undefined){delete e[t]}}return e}function merge(e,t,r){if(typeof t==="string"){let[e,i]=t.split(" ");r=Object.assign(i?{method:e,url:i}:{url:e},r)}else{r=Object.assign({},t)}r.headers=lowercaseKeys(r.headers);removeUndefinedProperties(r);removeUndefinedProperties(r.headers);const i=mergeDeep(e||{},r);if(e&&e.mediaType.previews.length){i.mediaType.previews=e.mediaType.previews.filter(e=>!i.mediaType.previews.includes(e)).concat(i.mediaType.previews)}i.mediaType.previews=i.mediaType.previews.map(e=>e.replace(/-preview/,""));return i}function addQueryParameters(e,t){const r=/\?/.test(e)?"&":"?";const i=Object.keys(t);if(i.length===0){return e}return e+r+i.map(e=>{if(e==="q"){return"q="+t.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(t[e])}`}).join("&")}const n=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const t=e.match(n);if(!t){return[]}return t.map(removeNonChars).reduce((e,t)=>e.concat(t),[])}function omit(e,t){return Object.keys(e).filter(e=>!t.includes(e)).reduce((t,r)=>{t[r]=e[r];return t},{})}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e}).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function encodeValue(e,t,r){t=e==="+"||e==="#"?encodeReserved(t):encodeUnreserved(t);if(r){return encodeUnreserved(r)+"="+t}else{return t}}function isDefined(e){return e!==undefined&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,t,r,i){var s=e[r],n=[];if(isDefined(s)&&s!==""){if(typeof s==="string"||typeof s==="number"||typeof s==="boolean"){s=s.toString();if(i&&i!=="*"){s=s.substring(0,parseInt(i,10))}n.push(encodeValue(t,s,isKeyOperator(t)?r:""))}else{if(i==="*"){if(Array.isArray(s)){s.filter(isDefined).forEach(function(e){n.push(encodeValue(t,e,isKeyOperator(t)?r:""))})}else{Object.keys(s).forEach(function(e){if(isDefined(s[e])){n.push(encodeValue(t,s[e],e))}})}}else{const e=[];if(Array.isArray(s)){s.filter(isDefined).forEach(function(r){e.push(encodeValue(t,r))})}else{Object.keys(s).forEach(function(r){if(isDefined(s[r])){e.push(encodeUnreserved(r));e.push(encodeValue(t,s[r].toString()))}})}if(isKeyOperator(t)){n.push(encodeUnreserved(r)+"="+e.join(","))}else if(e.length!==0){n.push(e.join(","))}}}}else{if(t===";"){if(isDefined(s)){n.push(encodeUnreserved(r))}}else if(s===""&&(t==="&"||t==="?")){n.push(encodeUnreserved(r)+"=")}else if(s===""){n.push("")}}return n}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,t){var r=["+","#",".","/",";","?","&"];return e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(e,i,s){if(i){let e="";const s=[];if(r.indexOf(i.charAt(0))!==-1){e=i.charAt(0);i=i.substr(1)}i.split(/,/g).forEach(function(r){var i=/([^:\*]*)(?::(\d+)|(\*))?/.exec(r);s.push(getValues(t,e,i[1],i[2]||i[3]))});if(e&&e!=="+"){var n=",";if(e==="?"){n="&"}else if(e!=="#"){n=e}return(s.length!==0?e:"")+s.join(n)}else{return s.join(",")}}else{return encodeReserved(s)}})}function parse(e){let t=e.method.toUpperCase();let r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let i=Object.assign({},e.headers);let s;let n=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const o=extractUrlVariableNames(r);r=parseUrl(r).expand(n);if(!/^http/.test(r)){r=e.baseUrl+r}const a=Object.keys(e).filter(e=>o.includes(e)).concat("baseUrl");const u=omit(n,a);const p=/application\/octet-stream/i.test(i.accept);if(!p){if(e.mediaType.format){i.accept=i.accept.split(/,/).map(t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(",")}if(e.mediaType.previews.length){const t=i.accept.match(/[\w-]+(?=-preview)/g)||[];i.accept=t.concat(e.mediaType.previews).map(t=>{const r=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${t}-preview${r}`}).join(",")}}if(["GET","HEAD"].includes(t)){r=addQueryParameters(r,u)}else{if("data"in u){s=u.data}else{if(Object.keys(u).length){s=u}else{i["content-length"]=0}}}if(!i["content-type"]&&typeof s!=="undefined"){i["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(t)&&typeof s==="undefined"){s=""}return Object.assign({method:t,url:r,headers:i},typeof s!=="undefined"?{body:s}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,t,r){return parse(merge(e,t,r))}function withDefaults(e,t){const r=merge(e,t);const i=endpointWithDefaults.bind(null,r);return Object.assign(i,{DEFAULTS:r,defaults:withDefaults.bind(null,r),merge:merge.bind(null,r),parse:parse})}const o="6.0.10";const a=`octokit-endpoint.js/${o} ${s.getUserAgent()}`;const u={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":a},mediaType:{format:"",previews:[]}};const p=withDefaults(null,u);t.endpoint=p},1292:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&"version"in process){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return"<environment undetectable>"}t.getUserAgent=getUserAgent},4193:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r="1.1.2";const i=[/^\/search\//,/^\/repos\/[^/]+\/[^/]+\/commits\/[^/]+\/(check-runs|check-suites)([^/]|$)/,/^\/installation\/repositories([^/]|$)/,/^\/user\/installations([^/]|$)/,/^\/repos\/[^/]+\/[^/]+\/actions\/secrets([^/]|$)/,/^\/repos\/[^/]+\/[^/]+\/actions\/workflows(\/[^/]+\/runs)?([^/]|$)/,/^\/repos\/[^/]+\/[^/]+\/actions\/runs(\/[^/]+\/(artifacts|jobs))?([^/]|$)/];function normalizePaginatedListResponse(e,t,r){const s=t.replace(e.request.endpoint.DEFAULTS.baseUrl,"");const n=i.find(e=>e.test(s));if(!n)return;const o=r.data.incomplete_results;const a=r.data.repository_selection;const u=r.data.total_count;delete r.data.incomplete_results;delete r.data.repository_selection;delete r.data.total_count;const p=Object.keys(r.data)[0];const c=r.data[p];r.data=c;if(typeof o!=="undefined"){r.data.incomplete_results=o}if(typeof a!=="undefined"){r.data.repository_selection=a}r.data.total_count=u;Object.defineProperty(r.data,p,{get(){e.log.warn(`[@octokit/paginate-rest] "response.data.${p}" is deprecated for "GET ${s}". Get the results directly from "response.data"`);return Array.from(c)}})}function iterator(e,t,r){const i=e.request.endpoint(t,r);const s=i.method;const n=i.headers;let o=i.url;return{[Symbol.asyncIterator]:()=>({next(){if(!o){return Promise.resolve({done:true})}return e.request({method:s,url:o,headers:n}).then(t=>{normalizePaginatedListResponse(e,o,t);o=((t.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:t}})}})}}function paginate(e,t,r,i){if(typeof r==="function"){i=r;r=undefined}return gather(e,[],iterator(e,t,r)[Symbol.asyncIterator](),i)}function gather(e,t,r,i){return r.next().then(s=>{if(s.done){return t}let n=false;function done(){n=true}t=t.concat(i?i(s.value,done):s.value.data);if(n){return t}return gather(e,t,r,i)})}function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=r;t.paginateRest=paginateRest},8883:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r="1.0.2";function requestLog(e){e.hook.wrap("request",(t,r)=>{e.log.debug("request",r);const i=Date.now();const s=e.request.endpoint.parse(r);const n=s.url.replace(r.baseUrl,"");return t(r).then(t=>{e.log.info(`${s.method} ${n} - ${t.status} in ${Date.now()-i}ms`);return t}).catch(t=>{e.log.info(`${s.method} ${n} - ${t.status} in ${Date.now()-i}ms`);throw t})})}requestLog.VERSION=r;t.requestLog=requestLog},3044:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var i=r(8932);var s={actions:{cancelWorkflowRun:{method:"POST",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},run_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id/cancel"},createOrUpdateSecretForRepo:{method:"PUT",params:{encrypted_value:{type:"string"},key_id:{type:"string"},name:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/actions/secrets/:name"},createRegistrationToken:{method:"POST",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/actions/runners/registration-token"},createRemoveToken:{method:"POST",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/actions/runners/remove-token"},deleteArtifact:{method:"DELETE",params:{artifact_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/actions/artifacts/:artifact_id"},deleteSecretFromRepo:{method:"DELETE",params:{name:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/actions/secrets/:name"},downloadArtifact:{method:"GET",params:{archive_format:{required:true,type:"string"},artifact_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/actions/artifacts/:artifact_id/:archive_format"},getArtifact:{method:"GET",params:{artifact_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/actions/artifacts/:artifact_id"},getPublicKey:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/actions/secrets/public-key"},getSecret:{method:"GET",params:{name:{required:true,type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/actions/secrets/:name"},getSelfHostedRunner:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},runner_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/actions/runners/:runner_id"},getWorkflow:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},workflow_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/actions/workflows/:workflow_id"},getWorkflowJob:{method:"GET",params:{job_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/actions/jobs/:job_id"},getWorkflowRun:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},run_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id"},listDownloadsForSelfHostedRunnerApplication:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/actions/runners/downloads"},listJobsForWorkflowRun:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},run_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id/jobs"},listRepoWorkflowRuns:{method:"GET",params:{actor:{type:"string"},branch:{type:"string"},event:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},status:{enum:["completed","status","conclusion"],type:"string"}},url:"/repos/:owner/:repo/actions/runs"},listRepoWorkflows:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/actions/workflows"},listSecretsForRepo:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/actions/secrets"},listSelfHostedRunnersForRepo:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/actions/runners"},listWorkflowJobLogs:{method:"GET",params:{job_id:{required:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/actions/jobs/:job_id/logs"},listWorkflowRunArtifacts:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},run_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id/artifacts"},listWorkflowRunLogs:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},run_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id/logs"},listWorkflowRuns:{method:"GET",params:{actor:{type:"string"},branch:{type:"string"},event:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},status:{enum:["completed","status","conclusion"],type:"string"},workflow_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/actions/workflows/:workflow_id/runs"},reRunWorkflow:{method:"POST",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},run_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/actions/runs/:run_id/rerun"},removeSelfHostedRunner:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},runner_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/actions/runners/:runner_id"}},activity:{checkStarringRepo:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/user/starred/:owner/:repo"},deleteRepoSubscription:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/subscription"},deleteThreadSubscription:{method:"DELETE",params:{thread_id:{required:true,type:"integer"}},url:"/notifications/threads/:thread_id/subscription"},getRepoSubscription:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/subscription"},getThread:{method:"GET",params:{thread_id:{required:true,type:"integer"}},url:"/notifications/threads/:thread_id"},getThreadSubscription:{method:"GET",params:{thread_id:{required:true,type:"integer"}},url:"/notifications/threads/:thread_id/subscription"},listEventsForOrg:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/events/orgs/:org"},listEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/events"},listFeeds:{method:"GET",params:{},url:"/feeds"},listNotifications:{method:"GET",params:{all:{type:"boolean"},before:{type:"string"},page:{type:"integer"},participating:{type:"boolean"},per_page:{type:"integer"},since:{type:"string"}},url:"/notifications"},listNotificationsForRepo:{method:"GET",params:{all:{type:"boolean"},before:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},participating:{type:"boolean"},per_page:{type:"integer"},repo:{required:true,type:"string"},since:{type:"string"}},url:"/repos/:owner/:repo/notifications"},listPublicEvents:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/events"},listPublicEventsForOrg:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/events"},listPublicEventsForRepoNetwork:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/networks/:owner/:repo/events"},listPublicEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/events/public"},listReceivedEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/received_events"},listReceivedPublicEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/received_events/public"},listRepoEvents:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/events"},listReposStarredByAuthenticatedUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/user/starred"},listReposStarredByUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated"],type:"string"},username:{required:true,type:"string"}},url:"/users/:username/starred"},listReposWatchedByUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/subscriptions"},listStargazersForRepo:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stargazers"},listWatchedReposForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/subscriptions"},listWatchersForRepo:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/subscribers"},markAsRead:{method:"PUT",params:{last_read_at:{type:"string"}},url:"/notifications"},markNotificationsAsReadForRepo:{method:"PUT",params:{last_read_at:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/notifications"},markThreadAsRead:{method:"PATCH",params:{thread_id:{required:true,type:"integer"}},url:"/notifications/threads/:thread_id"},setRepoSubscription:{method:"PUT",params:{ignored:{type:"boolean"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},subscribed:{type:"boolean"}},url:"/repos/:owner/:repo/subscription"},setThreadSubscription:{method:"PUT",params:{ignored:{type:"boolean"},thread_id:{required:true,type:"integer"}},url:"/notifications/threads/:thread_id/subscription"},starRepo:{method:"PUT",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/user/starred/:owner/:repo"},unstarRepo:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/user/starred/:owner/:repo"}},apps:{addRepoToInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"PUT",params:{installation_id:{required:true,type:"integer"},repository_id:{required:true,type:"integer"}},url:"/user/installations/:installation_id/repositories/:repository_id"},checkAccountIsAssociatedWithAny:{method:"GET",params:{account_id:{required:true,type:"integer"}},url:"/marketplace_listing/accounts/:account_id"},checkAccountIsAssociatedWithAnyStubbed:{method:"GET",params:{account_id:{required:true,type:"integer"}},url:"/marketplace_listing/stubbed/accounts/:account_id"},checkAuthorization:{deprecated:"octokit.apps.checkAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization",method:"GET",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},checkToken:{headers:{accept:"application/vnd.github.doctor-strange-preview+json"},method:"POST",params:{access_token:{type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/token"},createContentAttachment:{headers:{accept:"application/vnd.github.corsair-preview+json"},method:"POST",params:{body:{required:true,type:"string"},content_reference_id:{required:true,type:"integer"},title:{required:true,type:"string"}},url:"/content_references/:content_reference_id/attachments"},createFromManifest:{headers:{accept:"application/vnd.github.fury-preview+json"},method:"POST",params:{code:{required:true,type:"string"}},url:"/app-manifests/:code/conversions"},createInstallationToken:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"POST",params:{installation_id:{required:true,type:"integer"},permissions:{type:"object"},repository_ids:{type:"integer[]"}},url:"/app/installations/:installation_id/access_tokens"},deleteAuthorization:{headers:{accept:"application/vnd.github.doctor-strange-preview+json"},method:"DELETE",params:{access_token:{type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/grant"},deleteInstallation:{headers:{accept:"application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json"},method:"DELETE",params:{installation_id:{required:true,type:"integer"}},url:"/app/installations/:installation_id"},deleteToken:{headers:{accept:"application/vnd.github.doctor-strange-preview+json"},method:"DELETE",params:{access_token:{type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/token"},findOrgInstallation:{deprecated:"octokit.apps.findOrgInstallation() has been renamed to octokit.apps.getOrgInstallation() (2019-04-10)",headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{org:{required:true,type:"string"}},url:"/orgs/:org/installation"},findRepoInstallation:{deprecated:"octokit.apps.findRepoInstallation() has been renamed to octokit.apps.getRepoInstallation() (2019-04-10)",headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/installation"},findUserInstallation:{deprecated:"octokit.apps.findUserInstallation() has been renamed to octokit.apps.getUserInstallation() (2019-04-10)",headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{username:{required:true,type:"string"}},url:"/users/:username/installation"},getAuthenticated:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{},url:"/app"},getBySlug:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{app_slug:{required:true,type:"string"}},url:"/apps/:app_slug"},getInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{installation_id:{required:true,type:"integer"}},url:"/app/installations/:installation_id"},getOrgInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{org:{required:true,type:"string"}},url:"/orgs/:org/installation"},getRepoInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/installation"},getUserInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{username:{required:true,type:"string"}},url:"/users/:username/installation"},listAccountsUserOrOrgOnPlan:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},plan_id:{required:true,type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/marketplace_listing/plans/:plan_id/accounts"},listAccountsUserOrOrgOnPlanStubbed:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},plan_id:{required:true,type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/marketplace_listing/stubbed/plans/:plan_id/accounts"},listInstallationReposForAuthenticatedUser:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{installation_id:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/user/installations/:installation_id/repositories"},listInstallations:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/app/installations"},listInstallationsForAuthenticatedUser:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/installations"},listMarketplacePurchasesForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/marketplace_purchases"},listMarketplacePurchasesForAuthenticatedUserStubbed:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/marketplace_purchases/stubbed"},listPlans:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/marketplace_listing/plans"},listPlansStubbed:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/marketplace_listing/stubbed/plans"},listRepos:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/installation/repositories"},removeRepoFromInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"DELETE",params:{installation_id:{required:true,type:"integer"},repository_id:{required:true,type:"integer"}},url:"/user/installations/:installation_id/repositories/:repository_id"},resetAuthorization:{deprecated:"octokit.apps.resetAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization",method:"POST",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},resetToken:{headers:{accept:"application/vnd.github.doctor-strange-preview+json"},method:"PATCH",params:{access_token:{type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/token"},revokeAuthorizationForApplication:{deprecated:"octokit.apps.revokeAuthorizationForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application",method:"DELETE",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},revokeGrantForApplication:{deprecated:"octokit.apps.revokeGrantForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application",method:"DELETE",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/grants/:access_token"},revokeInstallationToken:{headers:{accept:"application/vnd.github.gambit-preview+json"},method:"DELETE",params:{},url:"/installation/token"}},checks:{create:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"POST",params:{actions:{type:"object[]"},"actions[].description":{required:true,type:"string"},"actions[].identifier":{required:true,type:"string"},"actions[].label":{required:true,type:"string"},completed_at:{type:"string"},conclusion:{enum:["success","failure","neutral","cancelled","timed_out","action_required"],type:"string"},details_url:{type:"string"},external_id:{type:"string"},head_sha:{required:true,type:"string"},name:{required:true,type:"string"},output:{type:"object"},"output.annotations":{type:"object[]"},"output.annotations[].annotation_level":{enum:["notice","warning","failure"],required:true,type:"string"},"output.annotations[].end_column":{type:"integer"},"output.annotations[].end_line":{required:true,type:"integer"},"output.annotations[].message":{required:true,type:"string"},"output.annotations[].path":{required:true,type:"string"},"output.annotations[].raw_details":{type:"string"},"output.annotations[].start_column":{type:"integer"},"output.annotations[].start_line":{required:true,type:"integer"},"output.annotations[].title":{type:"string"},"output.images":{type:"object[]"},"output.images[].alt":{required:true,type:"string"},"output.images[].caption":{type:"string"},"output.images[].image_url":{required:true,type:"string"},"output.summary":{required:true,type:"string"},"output.text":{type:"string"},"output.title":{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},started_at:{type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/check-runs"},createSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"POST",params:{head_sha:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-suites"},get:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_run_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-runs/:check_run_id"},getSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_suite_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-suites/:check_suite_id"},listAnnotations:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_run_id:{required:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-runs/:check_run_id/annotations"},listForRef:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_name:{type:"string"},filter:{enum:["latest","all"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:true,type:"string"},repo:{required:true,type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/commits/:ref/check-runs"},listForSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_name:{type:"string"},check_suite_id:{required:true,type:"integer"},filter:{enum:["latest","all"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/check-suites/:check_suite_id/check-runs"},listSuitesForRef:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{app_id:{type:"integer"},check_name:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:ref/check-suites"},rerequestSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"POST",params:{check_suite_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-suites/:check_suite_id/rerequest"},setSuitesPreferences:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"PATCH",params:{auto_trigger_checks:{type:"object[]"},"auto_trigger_checks[].app_id":{required:true,type:"integer"},"auto_trigger_checks[].setting":{required:true,type:"boolean"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-suites/preferences"},update:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"PATCH",params:{actions:{type:"object[]"},"actions[].description":{required:true,type:"string"},"actions[].identifier":{required:true,type:"string"},"actions[].label":{required:true,type:"string"},check_run_id:{required:true,type:"integer"},completed_at:{type:"string"},conclusion:{enum:["success","failure","neutral","cancelled","timed_out","action_required"],type:"string"},details_url:{type:"string"},external_id:{type:"string"},name:{type:"string"},output:{type:"object"},"output.annotations":{type:"object[]"},"output.annotations[].annotation_level":{enum:["notice","warning","failure"],required:true,type:"string"},"output.annotations[].end_column":{type:"integer"},"output.annotations[].end_line":{required:true,type:"integer"},"output.annotations[].message":{required:true,type:"string"},"output.annotations[].path":{required:true,type:"string"},"output.annotations[].raw_details":{type:"string"},"output.annotations[].start_column":{type:"integer"},"output.annotations[].start_line":{required:true,type:"integer"},"output.annotations[].title":{type:"string"},"output.images":{type:"object[]"},"output.images[].alt":{required:true,type:"string"},"output.images[].caption":{type:"string"},"output.images[].image_url":{required:true,type:"string"},"output.summary":{required:true,type:"string"},"output.text":{type:"string"},"output.title":{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},started_at:{type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/check-runs/:check_run_id"}},codesOfConduct:{getConductCode:{headers:{accept:"application/vnd.github.scarlet-witch-preview+json"},method:"GET",params:{key:{required:true,type:"string"}},url:"/codes_of_conduct/:key"},getForRepo:{headers:{accept:"application/vnd.github.scarlet-witch-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/community/code_of_conduct"},listConductCodes:{headers:{accept:"application/vnd.github.scarlet-witch-preview+json"},method:"GET",params:{},url:"/codes_of_conduct"}},emojis:{get:{method:"GET",params:{},url:"/emojis"}},gists:{checkIsStarred:{method:"GET",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/star"},create:{method:"POST",params:{description:{type:"string"},files:{required:true,type:"object"},"files.content":{type:"string"},public:{type:"boolean"}},url:"/gists"},createComment:{method:"POST",params:{body:{required:true,type:"string"},gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/comments"},delete:{method:"DELETE",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id"},deleteComment:{method:"DELETE",params:{comment_id:{required:true,type:"integer"},gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/comments/:comment_id"},fork:{method:"POST",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/forks"},get:{method:"GET",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id"},getComment:{method:"GET",params:{comment_id:{required:true,type:"integer"},gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/comments/:comment_id"},getRevision:{method:"GET",params:{gist_id:{required:true,type:"string"},sha:{required:true,type:"string"}},url:"/gists/:gist_id/:sha"},list:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/gists"},listComments:{method:"GET",params:{gist_id:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/gists/:gist_id/comments"},listCommits:{method:"GET",params:{gist_id:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/gists/:gist_id/commits"},listForks:{method:"GET",params:{gist_id:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/gists/:gist_id/forks"},listPublic:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/gists/public"},listPublicForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},username:{required:true,type:"string"}},url:"/users/:username/gists"},listStarred:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/gists/starred"},star:{method:"PUT",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/star"},unstar:{method:"DELETE",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/star"},update:{method:"PATCH",params:{description:{type:"string"},files:{type:"object"},"files.content":{type:"string"},"files.filename":{type:"string"},gist_id:{required:true,type:"string"}},url:"/gists/:gist_id"},updateComment:{method:"PATCH",params:{body:{required:true,type:"string"},comment_id:{required:true,type:"integer"},gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/comments/:comment_id"}},git:{createBlob:{method:"POST",params:{content:{required:true,type:"string"},encoding:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/blobs"},createCommit:{method:"POST",params:{author:{type:"object"},"author.date":{type:"string"},"author.email":{type:"string"},"author.name":{type:"string"},committer:{type:"object"},"committer.date":{type:"string"},"committer.email":{type:"string"},"committer.name":{type:"string"},message:{required:true,type:"string"},owner:{required:true,type:"string"},parents:{required:true,type:"string[]"},repo:{required:true,type:"string"},signature:{type:"string"},tree:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/commits"},createRef:{method:"POST",params:{owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/refs"},createTag:{method:"POST",params:{message:{required:true,type:"string"},object:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},tag:{required:true,type:"string"},tagger:{type:"object"},"tagger.date":{type:"string"},"tagger.email":{type:"string"},"tagger.name":{type:"string"},type:{enum:["commit","tree","blob"],required:true,type:"string"}},url:"/repos/:owner/:repo/git/tags"},createTree:{method:"POST",params:{base_tree:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},tree:{required:true,type:"object[]"},"tree[].content":{type:"string"},"tree[].mode":{enum:["100644","100755","040000","160000","120000"],type:"string"},"tree[].path":{type:"string"},"tree[].sha":{allowNull:true,type:"string"},"tree[].type":{enum:["blob","tree","commit"],type:"string"}},url:"/repos/:owner/:repo/git/trees"},deleteRef:{method:"DELETE",params:{owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/refs/:ref"},getBlob:{method:"GET",params:{file_sha:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/blobs/:file_sha"},getCommit:{method:"GET",params:{commit_sha:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/commits/:commit_sha"},getRef:{method:"GET",params:{owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/ref/:ref"},getTag:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},tag_sha:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/tags/:tag_sha"},getTree:{method:"GET",params:{owner:{required:true,type:"string"},recursive:{enum:["1"],type:"integer"},repo:{required:true,type:"string"},tree_sha:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/trees/:tree_sha"},listMatchingRefs:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/matching-refs/:ref"},listRefs:{method:"GET",params:{namespace:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/refs/:namespace"},updateRef:{method:"PATCH",params:{force:{type:"boolean"},owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/refs/:ref"}},gitignore:{getTemplate:{method:"GET",params:{name:{required:true,type:"string"}},url:"/gitignore/templates/:name"},listTemplates:{method:"GET",params:{},url:"/gitignore/templates"}},interactions:{addOrUpdateRestrictionsForOrg:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"PUT",params:{limit:{enum:["existing_users","contributors_only","collaborators_only"],required:true,type:"string"},org:{required:true,type:"string"}},url:"/orgs/:org/interaction-limits"},addOrUpdateRestrictionsForRepo:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"PUT",params:{limit:{enum:["existing_users","contributors_only","collaborators_only"],required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/interaction-limits"},getRestrictionsForOrg:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"GET",params:{org:{required:true,type:"string"}},url:"/orgs/:org/interaction-limits"},getRestrictionsForRepo:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/interaction-limits"},removeRestrictionsForOrg:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"DELETE",params:{org:{required:true,type:"string"}},url:"/orgs/:org/interaction-limits"},removeRestrictionsForRepo:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/interaction-limits"}},issues:{addAssignees:{method:"POST",params:{assignees:{type:"string[]"},issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/assignees"},addLabels:{method:"POST",params:{issue_number:{required:true,type:"integer"},labels:{required:true,type:"string[]"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},checkAssignee:{method:"GET",params:{assignee:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/assignees/:assignee"},create:{method:"POST",params:{assignee:{type:"string"},assignees:{type:"string[]"},body:{type:"string"},labels:{type:"string[]"},milestone:{type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},title:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues"},createComment:{method:"POST",params:{body:{required:true,type:"string"},issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/comments"},createLabel:{method:"POST",params:{color:{required:true,type:"string"},description:{type:"string"},name:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/labels"},createMilestone:{method:"POST",params:{description:{type:"string"},due_on:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},state:{enum:["open","closed"],type:"string"},title:{required:true,type:"string"}},url:"/repos/:owner/:repo/milestones"},deleteComment:{method:"DELETE",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id"},deleteLabel:{method:"DELETE",params:{name:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/labels/:name"},deleteMilestone:{method:"DELETE",params:{milestone_number:{required:true,type:"integer"},number:{alias:"milestone_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number"},get:{method:"GET",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number"},getComment:{method:"GET",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id"},getEvent:{method:"GET",params:{event_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/events/:event_id"},getLabel:{method:"GET",params:{name:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/labels/:name"},getMilestone:{method:"GET",params:{milestone_number:{required:true,type:"integer"},number:{alias:"milestone_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number"},list:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},filter:{enum:["assigned","created","mentioned","subscribed","all"],type:"string"},labels:{type:"string"},page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/issues"},listAssignees:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/assignees"},listComments:{method:"GET",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},since:{type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/comments"},listCommentsForRepo:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},since:{type:"string"},sort:{enum:["created","updated"],type:"string"}},url:"/repos/:owner/:repo/issues/comments"},listEvents:{method:"GET",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/events"},listEventsForRepo:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/events"},listEventsForTimeline:{headers:{accept:"application/vnd.github.mockingbird-preview+json"},method:"GET",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/timeline"},listForAuthenticatedUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},filter:{enum:["assigned","created","mentioned","subscribed","all"],type:"string"},labels:{type:"string"},page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/user/issues"},listForOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},filter:{enum:["assigned","created","mentioned","subscribed","all"],type:"string"},labels:{type:"string"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/orgs/:org/issues"},listForRepo:{method:"GET",params:{assignee:{type:"string"},creator:{type:"string"},direction:{enum:["asc","desc"],type:"string"},labels:{type:"string"},mentioned:{type:"string"},milestone:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/issues"},listLabelsForMilestone:{method:"GET",params:{milestone_number:{required:true,type:"integer"},number:{alias:"milestone_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number/labels"},listLabelsForRepo:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/labels"},listLabelsOnIssue:{method:"GET",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},listMilestonesForRepo:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},sort:{enum:["due_on","completeness"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/milestones"},lock:{method:"PUT",params:{issue_number:{required:true,type:"integer"},lock_reason:{enum:["off-topic","too heated","resolved","spam"],type:"string"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/lock"},removeAssignees:{method:"DELETE",params:{assignees:{type:"string[]"},issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/assignees"},removeLabel:{method:"DELETE",params:{issue_number:{required:true,type:"integer"},name:{required:true,type:"string"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels/:name"},removeLabels:{method:"DELETE",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},replaceLabels:{method:"PUT",params:{issue_number:{required:true,type:"integer"},labels:{type:"string[]"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},unlock:{method:"DELETE",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/lock"},update:{method:"PATCH",params:{assignee:{type:"string"},assignees:{type:"string[]"},body:{type:"string"},issue_number:{required:true,type:"integer"},labels:{type:"string[]"},milestone:{allowNull:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},state:{enum:["open","closed"],type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number"},updateComment:{method:"PATCH",params:{body:{required:true,type:"string"},comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id"},updateLabel:{method:"PATCH",params:{color:{type:"string"},current_name:{required:true,type:"string"},description:{type:"string"},name:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/labels/:current_name"},updateMilestone:{method:"PATCH",params:{description:{type:"string"},due_on:{type:"string"},milestone_number:{required:true,type:"integer"},number:{alias:"milestone_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},state:{enum:["open","closed"],type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number"}},licenses:{get:{method:"GET",params:{license:{required:true,type:"string"}},url:"/licenses/:license"},getForRepo:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/license"},list:{deprecated:"octokit.licenses.list() has been renamed to octokit.licenses.listCommonlyUsed() (2019-03-05)",method:"GET",params:{},url:"/licenses"},listCommonlyUsed:{method:"GET",params:{},url:"/licenses"}},markdown:{render:{method:"POST",params:{context:{type:"string"},mode:{enum:["markdown","gfm"],type:"string"},text:{required:true,type:"string"}},url:"/markdown"},renderRaw:{headers:{"content-type":"text/plain; charset=utf-8"},method:"POST",params:{data:{mapTo:"data",required:true,type:"string"}},url:"/markdown/raw"}},meta:{get:{method:"GET",params:{},url:"/meta"}},migrations:{cancelImport:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/import"},deleteArchiveForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:true,type:"integer"}},url:"/user/migrations/:migration_id/archive"},deleteArchiveForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/migrations/:migration_id/archive"},downloadArchiveForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/migrations/:migration_id/archive"},getArchiveForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:true,type:"integer"}},url:"/user/migrations/:migration_id/archive"},getArchiveForOrg:{deprecated:"octokit.migrations.getArchiveForOrg() has been renamed to octokit.migrations.downloadArchiveForOrg() (2020-01-27)",headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/migrations/:migration_id/archive"},getCommitAuthors:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},since:{type:"string"}},url:"/repos/:owner/:repo/import/authors"},getImportProgress:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/import"},getLargeFiles:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/import/large_files"},getStatusForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:true,type:"integer"}},url:"/user/migrations/:migration_id"},getStatusForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/migrations/:migration_id"},listForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/migrations"},listForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/migrations"},listReposForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:true,type:"integer"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/migrations/:migration_id/repositories"},listReposForUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/user/:migration_id/repositories"},mapCommitAuthor:{method:"PATCH",params:{author_id:{required:true,type:"integer"},email:{type:"string"},name:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/import/authors/:author_id"},setLfsPreference:{method:"PATCH",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},use_lfs:{enum:["opt_in","opt_out"],required:true,type:"string"}},url:"/repos/:owner/:repo/import/lfs"},startForAuthenticatedUser:{method:"POST",params:{exclude_attachments:{type:"boolean"},lock_repositories:{type:"boolean"},repositories:{required:true,type:"string[]"}},url:"/user/migrations"},startForOrg:{method:"POST",params:{exclude_attachments:{type:"boolean"},lock_repositories:{type:"boolean"},org:{required:true,type:"string"},repositories:{required:true,type:"string[]"}},url:"/orgs/:org/migrations"},startImport:{method:"PUT",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},tfvc_project:{type:"string"},vcs:{enum:["subversion","git","mercurial","tfvc"],type:"string"},vcs_password:{type:"string"},vcs_url:{required:true,type:"string"},vcs_username:{type:"string"}},url:"/repos/:owner/:repo/import"},unlockRepoForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:true,type:"integer"},repo_name:{required:true,type:"string"}},url:"/user/migrations/:migration_id/repos/:repo_name/lock"},unlockRepoForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:true,type:"integer"},org:{required:true,type:"string"},repo_name:{required:true,type:"string"}},url:"/orgs/:org/migrations/:migration_id/repos/:repo_name/lock"},updateImport:{method:"PATCH",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},vcs_password:{type:"string"},vcs_username:{type:"string"}},url:"/repos/:owner/:repo/import"}},oauthAuthorizations:{checkAuthorization:{deprecated:"octokit.oauthAuthorizations.checkAuthorization() has been renamed to octokit.apps.checkAuthorization() (2019-11-05)",method:"GET",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},createAuthorization:{deprecated:"octokit.oauthAuthorizations.createAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization",method:"POST",params:{client_id:{type:"string"},client_secret:{type:"string"},fingerprint:{type:"string"},note:{required:true,type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations"},deleteAuthorization:{deprecated:"octokit.oauthAuthorizations.deleteAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization",method:"DELETE",params:{authorization_id:{required:true,type:"integer"}},url:"/authorizations/:authorization_id"},deleteGrant:{deprecated:"octokit.oauthAuthorizations.deleteGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-a-grant",method:"DELETE",params:{grant_id:{required:true,type:"integer"}},url:"/applications/grants/:grant_id"},getAuthorization:{deprecated:"octokit.oauthAuthorizations.getAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization",method:"GET",params:{authorization_id:{required:true,type:"integer"}},url:"/authorizations/:authorization_id"},getGrant:{deprecated:"octokit.oauthAuthorizations.getGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-grant",method:"GET",params:{grant_id:{required:true,type:"integer"}},url:"/applications/grants/:grant_id"},getOrCreateAuthorizationForApp:{deprecated:"octokit.oauthAuthorizations.getOrCreateAuthorizationForApp() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app",method:"PUT",params:{client_id:{required:true,type:"string"},client_secret:{required:true,type:"string"},fingerprint:{type:"string"},note:{type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations/clients/:client_id"},getOrCreateAuthorizationForAppAndFingerprint:{deprecated:"octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint",method:"PUT",params:{client_id:{required:true,type:"string"},client_secret:{required:true,type:"string"},fingerprint:{required:true,type:"string"},note:{type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations/clients/:client_id/:fingerprint"},getOrCreateAuthorizationForAppFingerprint:{deprecated:"octokit.oauthAuthorizations.getOrCreateAuthorizationForAppFingerprint() has been renamed to octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() (2018-12-27)",method:"PUT",params:{client_id:{required:true,type:"string"},client_secret:{required:true,type:"string"},fingerprint:{required:true,type:"string"},note:{type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations/clients/:client_id/:fingerprint"},listAuthorizations:{deprecated:"octokit.oauthAuthorizations.listAuthorizations() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/authorizations"},listGrants:{deprecated:"octokit.oauthAuthorizations.listGrants() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-grants",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/applications/grants"},resetAuthorization:{deprecated:"octokit.oauthAuthorizations.resetAuthorization() has been renamed to octokit.apps.resetAuthorization() (2019-11-05)",method:"POST",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},revokeAuthorizationForApplication:{deprecated:"octokit.oauthAuthorizations.revokeAuthorizationForApplication() has been renamed to octokit.apps.revokeAuthorizationForApplication() (2019-11-05)",method:"DELETE",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},revokeGrantForApplication:{deprecated:"octokit.oauthAuthorizations.revokeGrantForApplication() has been renamed to octokit.apps.revokeGrantForApplication() (2019-11-05)",method:"DELETE",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/grants/:access_token"},updateAuthorization:{deprecated:"octokit.oauthAuthorizations.updateAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization",method:"PATCH",params:{add_scopes:{type:"string[]"},authorization_id:{required:true,type:"integer"},fingerprint:{type:"string"},note:{type:"string"},note_url:{type:"string"},remove_scopes:{type:"string[]"},scopes:{type:"string[]"}},url:"/authorizations/:authorization_id"}},orgs:{addOrUpdateMembership:{method:"PUT",params:{org:{required:true,type:"string"},role:{enum:["admin","member"],type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/memberships/:username"},blockUser:{method:"PUT",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/blocks/:username"},checkBlockedUser:{method:"GET",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/blocks/:username"},checkMembership:{method:"GET",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/members/:username"},checkPublicMembership:{method:"GET",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/public_members/:username"},concealMembership:{method:"DELETE",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/public_members/:username"},convertMemberToOutsideCollaborator:{method:"PUT",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/outside_collaborators/:username"},createHook:{method:"POST",params:{active:{type:"boolean"},config:{required:true,type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:true,type:"string"},events:{type:"string[]"},name:{required:true,type:"string"},org:{required:true,type:"string"}},url:"/orgs/:org/hooks"},createInvitation:{method:"POST",params:{email:{type:"string"},invitee_id:{type:"integer"},org:{required:true,type:"string"},role:{enum:["admin","direct_member","billing_manager"],type:"string"},team_ids:{type:"integer[]"}},url:"/orgs/:org/invitations"},deleteHook:{method:"DELETE",params:{hook_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/hooks/:hook_id"},get:{method:"GET",params:{org:{required:true,type:"string"}},url:"/orgs/:org"},getHook:{method:"GET",params:{hook_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/hooks/:hook_id"},getMembership:{method:"GET",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/memberships/:username"},getMembershipForAuthenticatedUser:{method:"GET",params:{org:{required:true,type:"string"}},url:"/user/memberships/orgs/:org"},list:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"integer"}},url:"/organizations"},listBlockedUsers:{method:"GET",params:{org:{required:true,type:"string"}},url:"/orgs/:org/blocks"},listForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/orgs"},listForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/orgs"},listHooks:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/hooks"},listInstallations:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/installations"},listInvitationTeams:{method:"GET",params:{invitation_id:{required:true,type:"integer"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/invitations/:invitation_id/teams"},listMembers:{method:"GET",params:{filter:{enum:["2fa_disabled","all"],type:"string"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},role:{enum:["all","admin","member"],type:"string"}},url:"/orgs/:org/members"},listMemberships:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},state:{enum:["active","pending"],type:"string"}},url:"/user/memberships/orgs"},listOutsideCollaborators:{method:"GET",params:{filter:{enum:["2fa_disabled","all"],type:"string"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/outside_collaborators"},listPendingInvitations:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/invitations"},listPublicMembers:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/public_members"},pingHook:{method:"POST",params:{hook_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/hooks/:hook_id/pings"},publicizeMembership:{method:"PUT",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/public_members/:username"},removeMember:{method:"DELETE",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/members/:username"},removeMembership:{method:"DELETE",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/memberships/:username"},removeOutsideCollaborator:{method:"DELETE",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/outside_collaborators/:username"},unblockUser:{method:"DELETE",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/blocks/:username"},update:{method:"PATCH",params:{billing_email:{type:"string"},company:{type:"string"},default_repository_permission:{enum:["read","write","admin","none"],type:"string"},description:{type:"string"},email:{type:"string"},has_organization_projects:{type:"boolean"},has_repository_projects:{type:"boolean"},location:{type:"string"},members_allowed_repository_creation_type:{enum:["all","private","none"],type:"string"},members_can_create_internal_repositories:{type:"boolean"},members_can_create_private_repositories:{type:"boolean"},members_can_create_public_repositories:{type:"boolean"},members_can_create_repositories:{type:"boolean"},name:{type:"string"},org:{required:true,type:"string"}},url:"/orgs/:org"},updateHook:{method:"PATCH",params:{active:{type:"boolean"},config:{type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:true,type:"string"},events:{type:"string[]"},hook_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/hooks/:hook_id"},updateMembership:{method:"PATCH",params:{org:{required:true,type:"string"},state:{enum:["active"],required:true,type:"string"}},url:"/user/memberships/orgs/:org"}},projects:{addCollaborator:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{permission:{enum:["read","write","admin"],type:"string"},project_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/projects/:project_id/collaborators/:username"},createCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{column_id:{required:true,type:"integer"},content_id:{type:"integer"},content_type:{type:"string"},note:{type:"string"}},url:"/projects/columns/:column_id/cards"},createColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{name:{required:true,type:"string"},project_id:{required:true,type:"integer"}},url:"/projects/:project_id/columns"},createForAuthenticatedUser:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{body:{type:"string"},name:{required:true,type:"string"}},url:"/user/projects"},createForOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{body:{type:"string"},name:{required:true,type:"string"},org:{required:true,type:"string"}},url:"/orgs/:org/projects"},createForRepo:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{body:{type:"string"},name:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/projects"},delete:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{project_id:{required:true,type:"integer"}},url:"/projects/:project_id"},deleteCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{card_id:{required:true,type:"integer"}},url:"/projects/columns/cards/:card_id"},deleteColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{column_id:{required:true,type:"integer"}},url:"/projects/columns/:column_id"},get:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:true,type:"integer"}},url:"/projects/:project_id"},getCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{card_id:{required:true,type:"integer"}},url:"/projects/columns/cards/:card_id"},getColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{column_id:{required:true,type:"integer"}},url:"/projects/columns/:column_id"},listCards:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{archived_state:{enum:["all","archived","not_archived"],type:"string"},column_id:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/projects/columns/:column_id/cards"},listCollaborators:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{affiliation:{enum:["outside","direct","all"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},project_id:{required:true,type:"integer"}},url:"/projects/:project_id/collaborators"},listColumns:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},project_id:{required:true,type:"integer"}},url:"/projects/:project_id/columns"},listForOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},state:{enum:["open","closed","all"],type:"string"}},url:"/orgs/:org/projects"},listForRepo:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/projects"},listForUser:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},state:{enum:["open","closed","all"],type:"string"},username:{required:true,type:"string"}},url:"/users/:username/projects"},moveCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{card_id:{required:true,type:"integer"},column_id:{type:"integer"},position:{required:true,type:"string",validation:"^(top|bottom|after:\\d+)$"}},url:"/projects/columns/cards/:card_id/moves"},moveColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{column_id:{required:true,type:"integer"},position:{required:true,type:"string",validation:"^(first|last|after:\\d+)$"}},url:"/projects/columns/:column_id/moves"},removeCollaborator:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{project_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/projects/:project_id/collaborators/:username"},reviewUserPermissionLevel:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/projects/:project_id/collaborators/:username/permission"},update:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PATCH",params:{body:{type:"string"},name:{type:"string"},organization_permission:{type:"string"},private:{type:"boolean"},project_id:{required:true,type:"integer"},state:{enum:["open","closed"],type:"string"}},url:"/projects/:project_id"},updateCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PATCH",params:{archived:{type:"boolean"},card_id:{required:true,type:"integer"},note:{type:"string"}},url:"/projects/columns/cards/:card_id"},updateColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PATCH",params:{column_id:{required:true,type:"integer"},name:{required:true,type:"string"}},url:"/projects/columns/:column_id"}},pulls:{checkIfMerged:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/merge"},create:{method:"POST",params:{base:{required:true,type:"string"},body:{type:"string"},draft:{type:"boolean"},head:{required:true,type:"string"},maintainer_can_modify:{type:"boolean"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},title:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls"},createComment:{method:"POST",params:{body:{required:true,type:"string"},commit_id:{required:true,type:"string"},in_reply_to:{deprecated:true,description:"The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.",type:"integer"},line:{type:"integer"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},path:{required:true,type:"string"},position:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},side:{enum:["LEFT","RIGHT"],type:"string"},start_line:{type:"integer"},start_side:{enum:["LEFT","RIGHT","side"],type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments"},createCommentReply:{deprecated:"octokit.pulls.createCommentReply() has been renamed to octokit.pulls.createComment() (2019-09-09)",method:"POST",params:{body:{required:true,type:"string"},commit_id:{required:true,type:"string"},in_reply_to:{deprecated:true,description:"The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.",type:"integer"},line:{type:"integer"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},path:{required:true,type:"string"},position:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},side:{enum:["LEFT","RIGHT"],type:"string"},start_line:{type:"integer"},start_side:{enum:["LEFT","RIGHT","side"],type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments"},createFromIssue:{deprecated:"octokit.pulls.createFromIssue() is deprecated, see https://developer.github.com/v3/pulls/#create-a-pull-request",method:"POST",params:{base:{required:true,type:"string"},draft:{type:"boolean"},head:{required:true,type:"string"},issue:{required:true,type:"integer"},maintainer_can_modify:{type:"boolean"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls"},createReview:{method:"POST",params:{body:{type:"string"},comments:{type:"object[]"},"comments[].body":{required:true,type:"string"},"comments[].path":{required:true,type:"string"},"comments[].position":{required:true,type:"integer"},commit_id:{type:"string"},event:{enum:["APPROVE","REQUEST_CHANGES","COMMENT"],type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews"},createReviewCommentReply:{method:"POST",params:{body:{required:true,type:"string"},comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies"},createReviewRequest:{method:"POST",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},reviewers:{type:"string[]"},team_reviewers:{type:"string[]"}},url:"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},deleteComment:{method:"DELETE",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id"},deletePendingReview:{method:"DELETE",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"},deleteReviewRequest:{method:"DELETE",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},reviewers:{type:"string[]"},team_reviewers:{type:"string[]"}},url:"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},dismissReview:{method:"PUT",params:{message:{required:true,type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals"},get:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number"},getComment:{method:"GET",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id"},getCommentsForReview:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"},getReview:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"},list:{method:"GET",params:{base:{type:"string"},direction:{enum:["asc","desc"],type:"string"},head:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},sort:{enum:["created","updated","popularity","long-running"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/pulls"},listComments:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},since:{type:"string"},sort:{enum:["created","updated"],type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments"},listCommentsForRepo:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},since:{type:"string"},sort:{enum:["created","updated"],type:"string"}},url:"/repos/:owner/:repo/pulls/comments"},listCommits:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/commits"},listFiles:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/files"},listReviewRequests:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},listReviews:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews"},merge:{method:"PUT",params:{commit_message:{type:"string"},commit_title:{type:"string"},merge_method:{enum:["merge","squash","rebase"],type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/merge"},submitReview:{method:"POST",params:{body:{type:"string"},event:{enum:["APPROVE","REQUEST_CHANGES","COMMENT"],required:true,type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events"},update:{method:"PATCH",params:{base:{type:"string"},body:{type:"string"},maintainer_can_modify:{type:"boolean"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},state:{enum:["open","closed"],type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number"},updateBranch:{headers:{accept:"application/vnd.github.lydian-preview+json"},method:"PUT",params:{expected_head_sha:{type:"string"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/update-branch"},updateComment:{method:"PATCH",params:{body:{required:true,type:"string"},comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id"},updateReview:{method:"PUT",params:{body:{required:true,type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"}},rateLimit:{get:{method:"GET",params:{},url:"/rate_limit"}},reactions:{createForCommitComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id/reactions"},createForIssue:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/reactions"},createForIssueComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id/reactions"},createForPullRequestReviewComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id/reactions"},createForTeamDiscussion:{deprecated:"octokit.reactions.createForTeamDiscussion() has been renamed to octokit.reactions.createForTeamDiscussionLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"},createForTeamDiscussionComment:{deprecated:"octokit.reactions.createForTeamDiscussionComment() has been renamed to octokit.reactions.createForTeamDiscussionCommentLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_number:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},createForTeamDiscussionCommentInOrg:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_number:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},discussion_number:{required:true,type:"integer"},org:{required:true,type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"},createForTeamDiscussionCommentLegacy:{deprecated:"octokit.reactions.createForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_number:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},createForTeamDiscussionInOrg:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},discussion_number:{required:true,type:"integer"},org:{required:true,type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"},createForTeamDiscussionLegacy:{deprecated:"octokit.reactions.createForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"},delete:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"DELETE",params:{reaction_id:{required:true,type:"integer"}},url:"/reactions/:reaction_id"},listForCommitComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id/reactions"},listForIssue:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/reactions"},listForIssueComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id/reactions"},listForPullRequestReviewComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id/reactions"},listForTeamDiscussion:{deprecated:"octokit.reactions.listForTeamDiscussion() has been renamed to octokit.reactions.listForTeamDiscussionLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"},listForTeamDiscussionComment:{deprecated:"octokit.reactions.listForTeamDiscussionComment() has been renamed to octokit.reactions.listForTeamDiscussionCommentLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_number:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},listForTeamDiscussionCommentInOrg:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_number:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:true,type:"integer"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"},listForTeamDiscussionCommentLegacy:{deprecated:"octokit.reactions.listForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_number:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},listForTeamDiscussionInOrg:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:true,type:"integer"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"},listForTeamDiscussionLegacy:{deprecated:"octokit.reactions.listForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy",headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"}},repos:{acceptInvitation:{method:"PATCH",params:{invitation_id:{required:true,type:"integer"}},url:"/user/repository_invitations/:invitation_id"},addCollaborator:{method:"PUT",params:{owner:{required:true,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username"},addDeployKey:{method:"POST",params:{key:{required:true,type:"string"},owner:{required:true,type:"string"},read_only:{type:"boolean"},repo:{required:true,type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/keys"},addProtectedBranchAdminEnforcement:{method:"POST",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},addProtectedBranchAppRestrictions:{method:"POST",params:{apps:{mapTo:"data",required:true,type:"string[]"},branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},addProtectedBranchRequiredSignatures:{headers:{accept:"application/vnd.github.zzzax-preview+json"},method:"POST",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},addProtectedBranchRequiredStatusChecksContexts:{method:"POST",params:{branch:{required:true,type:"string"},contexts:{mapTo:"data",required:true,type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},addProtectedBranchTeamRestrictions:{method:"POST",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},teams:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},addProtectedBranchUserRestrictions:{method:"POST",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},users:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},checkCollaborator:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username"},checkVulnerabilityAlerts:{headers:{accept:"application/vnd.github.dorian-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/vulnerability-alerts"},compareCommits:{method:"GET",params:{base:{required:true,type:"string"},head:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/compare/:base...:head"},createCommitComment:{method:"POST",params:{body:{required:true,type:"string"},commit_sha:{required:true,type:"string"},line:{type:"integer"},owner:{required:true,type:"string"},path:{type:"string"},position:{type:"integer"},repo:{required:true,type:"string"},sha:{alias:"commit_sha",deprecated:true,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/comments"},createDeployment:{method:"POST",params:{auto_merge:{type:"boolean"},description:{type:"string"},environment:{type:"string"},owner:{required:true,type:"string"},payload:{type:"string"},production_environment:{type:"boolean"},ref:{required:true,type:"string"},repo:{required:true,type:"string"},required_contexts:{type:"string[]"},task:{type:"string"},transient_environment:{type:"boolean"}},url:"/repos/:owner/:repo/deployments"},createDeploymentStatus:{method:"POST",params:{auto_inactive:{type:"boolean"},deployment_id:{required:true,type:"integer"},description:{type:"string"},environment:{enum:["production","staging","qa"],type:"string"},environment_url:{type:"string"},log_url:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},state:{enum:["error","failure","inactive","in_progress","queued","pending","success"],required:true,type:"string"},target_url:{type:"string"}},url:"/repos/:owner/:repo/deployments/:deployment_id/statuses"},createDispatchEvent:{method:"POST",params:{client_payload:{type:"object"},event_type:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/dispatches"},createFile:{deprecated:"octokit.repos.createFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)",method:"PUT",params:{author:{type:"object"},"author.email":{required:true,type:"string"},"author.name":{required:true,type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{required:true,type:"string"},"committer.name":{required:true,type:"string"},content:{required:true,type:"string"},message:{required:true,type:"string"},owner:{required:true,type:"string"},path:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/contents/:path"},createForAuthenticatedUser:{method:"POST",params:{allow_merge_commit:{type:"boolean"},allow_rebase_merge:{type:"boolean"},allow_squash_merge:{type:"boolean"},auto_init:{type:"boolean"},delete_branch_on_merge:{type:"boolean"},description:{type:"string"},gitignore_template:{type:"string"},has_issues:{type:"boolean"},has_projects:{type:"boolean"},has_wiki:{type:"boolean"},homepage:{type:"string"},is_template:{type:"boolean"},license_template:{type:"string"},name:{required:true,type:"string"},private:{type:"boolean"},team_id:{type:"integer"},visibility:{enum:["public","private","visibility","internal"],type:"string"}},url:"/user/repos"},createFork:{method:"POST",params:{organization:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/forks"},createHook:{method:"POST",params:{active:{type:"boolean"},config:{required:true,type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:true,type:"string"},events:{type:"string[]"},name:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks"},createInOrg:{method:"POST",params:{allow_merge_commit:{type:"boolean"},allow_rebase_merge:{type:"boolean"},allow_squash_merge:{type:"boolean"},auto_init:{type:"boolean"},delete_branch_on_merge:{type:"boolean"},description:{type:"string"},gitignore_template:{type:"string"},has_issues:{type:"boolean"},has_projects:{type:"boolean"},has_wiki:{type:"boolean"},homepage:{type:"string"},is_template:{type:"boolean"},license_template:{type:"string"},name:{required:true,type:"string"},org:{required:true,type:"string"},private:{type:"boolean"},team_id:{type:"integer"},visibility:{enum:["public","private","visibility","internal"],type:"string"}},url:"/orgs/:org/repos"},createOrUpdateFile:{method:"PUT",params:{author:{type:"object"},"author.email":{required:true,type:"string"},"author.name":{required:true,type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{required:true,type:"string"},"committer.name":{required:true,type:"string"},content:{required:true,type:"string"},message:{required:true,type:"string"},owner:{required:true,type:"string"},path:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/contents/:path"},createRelease:{method:"POST",params:{body:{type:"string"},draft:{type:"boolean"},name:{type:"string"},owner:{required:true,type:"string"},prerelease:{type:"boolean"},repo:{required:true,type:"string"},tag_name:{required:true,type:"string"},target_commitish:{type:"string"}},url:"/repos/:owner/:repo/releases"},createStatus:{method:"POST",params:{context:{type:"string"},description:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{required:true,type:"string"},state:{enum:["error","failure","pending","success"],required:true,type:"string"},target_url:{type:"string"}},url:"/repos/:owner/:repo/statuses/:sha"},createUsingTemplate:{headers:{accept:"application/vnd.github.baptiste-preview+json"},method:"POST",params:{description:{type:"string"},name:{required:true,type:"string"},owner:{type:"string"},private:{type:"boolean"},template_owner:{required:true,type:"string"},template_repo:{required:true,type:"string"}},url:"/repos/:template_owner/:template_repo/generate"},declineInvitation:{method:"DELETE",params:{invitation_id:{required:true,type:"integer"}},url:"/user/repository_invitations/:invitation_id"},delete:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo"},deleteCommitComment:{method:"DELETE",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id"},deleteDownload:{method:"DELETE",params:{download_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/downloads/:download_id"},deleteFile:{method:"DELETE",params:{author:{type:"object"},"author.email":{type:"string"},"author.name":{type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{type:"string"},"committer.name":{type:"string"},message:{required:true,type:"string"},owner:{required:true,type:"string"},path:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{required:true,type:"string"}},url:"/repos/:owner/:repo/contents/:path"},deleteHook:{method:"DELETE",params:{hook_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id"},deleteInvitation:{method:"DELETE",params:{invitation_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/invitations/:invitation_id"},deleteRelease:{method:"DELETE",params:{owner:{required:true,type:"string"},release_id:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/:release_id"},deleteReleaseAsset:{method:"DELETE",params:{asset_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/assets/:asset_id"},disableAutomatedSecurityFixes:{headers:{accept:"application/vnd.github.london-preview+json"},method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/automated-security-fixes"},disablePagesSite:{headers:{accept:"application/vnd.github.switcheroo-preview+json"},method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages"},disableVulnerabilityAlerts:{headers:{accept:"application/vnd.github.dorian-preview+json"},method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/vulnerability-alerts"},enableAutomatedSecurityFixes:{headers:{accept:"application/vnd.github.london-preview+json"},method:"PUT",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/automated-security-fixes"},enablePagesSite:{headers:{accept:"application/vnd.github.switcheroo-preview+json"},method:"POST",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},source:{type:"object"},"source.branch":{enum:["master","gh-pages"],type:"string"},"source.path":{type:"string"}},url:"/repos/:owner/:repo/pages"},enableVulnerabilityAlerts:{headers:{accept:"application/vnd.github.dorian-preview+json"},method:"PUT",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/vulnerability-alerts"},get:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo"},getAppsWithAccessToProtectedBranch:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},getArchiveLink:{method:"GET",params:{archive_format:{required:true,type:"string"},owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/:archive_format/:ref"},getBranch:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch"},getBranchProtection:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection"},getClones:{method:"GET",params:{owner:{required:true,type:"string"},per:{enum:["day","week"],type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/traffic/clones"},getCodeFrequencyStats:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stats/code_frequency"},getCollaboratorPermissionLevel:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username/permission"},getCombinedStatusForRef:{method:"GET",params:{owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:ref/status"},getCommit:{method:"GET",params:{commit_sha:{alias:"ref",deprecated:true,type:"string"},owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{alias:"ref",deprecated:true,type:"string"}},url:"/repos/:owner/:repo/commits/:ref"},getCommitActivityStats:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stats/commit_activity"},getCommitComment:{method:"GET",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id"},getCommitRefSha:{deprecated:"octokit.repos.getCommitRefSha() is deprecated, see https://developer.github.com/v3/repos/commits/#get-a-single-commit",headers:{accept:"application/vnd.github.v3.sha"},method:"GET",params:{owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:ref"},getContents:{method:"GET",params:{owner:{required:true,type:"string"},path:{required:true,type:"string"},ref:{type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/contents/:path"},getContributorsStats:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stats/contributors"},getDeployKey:{method:"GET",params:{key_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/keys/:key_id"},getDeployment:{method:"GET",params:{deployment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/deployments/:deployment_id"},getDeploymentStatus:{method:"GET",params:{deployment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},status_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id"},getDownload:{method:"GET",params:{download_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/downloads/:download_id"},getHook:{method:"GET",params:{hook_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id"},getLatestPagesBuild:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages/builds/latest"},getLatestRelease:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/latest"},getPages:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages"},getPagesBuild:{method:"GET",params:{build_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages/builds/:build_id"},getParticipationStats:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stats/participation"},getProtectedBranchAdminEnforcement:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},getProtectedBranchPullRequestReviewEnforcement:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},getProtectedBranchRequiredSignatures:{headers:{accept:"application/vnd.github.zzzax-preview+json"},method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},getProtectedBranchRequiredStatusChecks:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},getProtectedBranchRestrictions:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions"},getPunchCardStats:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stats/punch_card"},getReadme:{method:"GET",params:{owner:{required:true,type:"string"},ref:{type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/readme"},getRelease:{method:"GET",params:{owner:{required:true,type:"string"},release_id:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/:release_id"},getReleaseAsset:{method:"GET",params:{asset_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/assets/:asset_id"},getReleaseByTag:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},tag:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/tags/:tag"},getTeamsWithAccessToProtectedBranch:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},getTopPaths:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/traffic/popular/paths"},getTopReferrers:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/traffic/popular/referrers"},getUsersWithAccessToProtectedBranch:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},getViews:{method:"GET",params:{owner:{required:true,type:"string"},per:{enum:["day","week"],type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/traffic/views"},list:{method:"GET",params:{affiliation:{type:"string"},direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated","pushed","full_name"],type:"string"},type:{enum:["all","owner","public","private","member"],type:"string"},visibility:{enum:["all","public","private"],type:"string"}},url:"/user/repos"},listAppsWithAccessToProtectedBranch:{deprecated:"octokit.repos.listAppsWithAccessToProtectedBranch() has been renamed to octokit.repos.getAppsWithAccessToProtectedBranch() (2019-09-13)",method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},listAssetsForRelease:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},release_id:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/:release_id/assets"},listBranches:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},protected:{type:"boolean"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches"},listBranchesForHeadCommit:{headers:{accept:"application/vnd.github.groot-preview+json"},method:"GET",params:{commit_sha:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/branches-where-head"},listCollaborators:{method:"GET",params:{affiliation:{enum:["outside","direct","all"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/collaborators"},listCommentsForCommit:{method:"GET",params:{commit_sha:{required:true,type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{alias:"commit_sha",deprecated:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/comments"},listCommitComments:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments"},listCommits:{method:"GET",params:{author:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},path:{type:"string"},per_page:{type:"integer"},repo:{required:true,type:"string"},sha:{type:"string"},since:{type:"string"},until:{type:"string"}},url:"/repos/:owner/:repo/commits"},listContributors:{method:"GET",params:{anon:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/contributors"},listDeployKeys:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/keys"},listDeploymentStatuses:{method:"GET",params:{deployment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/deployments/:deployment_id/statuses"},listDeployments:{method:"GET",params:{environment:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{type:"string"},repo:{required:true,type:"string"},sha:{type:"string"},task:{type:"string"}},url:"/repos/:owner/:repo/deployments"},listDownloads:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/downloads"},listForOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated","pushed","full_name"],type:"string"},type:{enum:["all","public","private","forks","sources","member","internal"],type:"string"}},url:"/orgs/:org/repos"},listForUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated","pushed","full_name"],type:"string"},type:{enum:["all","owner","member"],type:"string"},username:{required:true,type:"string"}},url:"/users/:username/repos"},listForks:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},sort:{enum:["newest","oldest","stargazers"],type:"string"}},url:"/repos/:owner/:repo/forks"},listHooks:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks"},listInvitations:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/invitations"},listInvitationsForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/repository_invitations"},listLanguages:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/languages"},listPagesBuilds:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages/builds"},listProtectedBranchRequiredStatusChecksContexts:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},listProtectedBranchTeamRestrictions:{deprecated:"octokit.repos.listProtectedBranchTeamRestrictions() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-09)",method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},listProtectedBranchUserRestrictions:{deprecated:"octokit.repos.listProtectedBranchUserRestrictions() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-09)",method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},listPublic:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"integer"}},url:"/repositories"},listPullRequestsAssociatedWithCommit:{headers:{accept:"application/vnd.github.groot-preview+json"},method:"GET",params:{commit_sha:{required:true,type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/pulls"},listReleases:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases"},listStatusesForRef:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:ref/statuses"},listTags:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/tags"},listTeams:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/teams"},listTeamsWithAccessToProtectedBranch:{deprecated:"octokit.repos.listTeamsWithAccessToProtectedBranch() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-13)",method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},listTopics:{headers:{accept:"application/vnd.github.mercy-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/topics"},listUsersWithAccessToProtectedBranch:{deprecated:"octokit.repos.listUsersWithAccessToProtectedBranch() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-13)",method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},merge:{method:"POST",params:{base:{required:true,type:"string"},commit_message:{type:"string"},head:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/merges"},pingHook:{method:"POST",params:{hook_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id/pings"},removeBranchProtection:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection"},removeCollaborator:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username"},removeDeployKey:{method:"DELETE",params:{key_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/keys/:key_id"},removeProtectedBranchAdminEnforcement:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},removeProtectedBranchAppRestrictions:{method:"DELETE",params:{apps:{mapTo:"data",required:true,type:"string[]"},branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},removeProtectedBranchPullRequestReviewEnforcement:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},removeProtectedBranchRequiredSignatures:{headers:{accept:"application/vnd.github.zzzax-preview+json"},method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},removeProtectedBranchRequiredStatusChecks:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},removeProtectedBranchRequiredStatusChecksContexts:{method:"DELETE",params:{branch:{required:true,type:"string"},contexts:{mapTo:"data",required:true,type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},removeProtectedBranchRestrictions:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions"},removeProtectedBranchTeamRestrictions:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},teams:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},removeProtectedBranchUserRestrictions:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},users:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},replaceProtectedBranchAppRestrictions:{method:"PUT",params:{apps:{mapTo:"data",required:true,type:"string[]"},branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"},replaceProtectedBranchRequiredStatusChecksContexts:{method:"PUT",params:{branch:{required:true,type:"string"},contexts:{mapTo:"data",required:true,type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},replaceProtectedBranchTeamRestrictions:{method:"PUT",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},teams:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},replaceProtectedBranchUserRestrictions:{method:"PUT",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},users:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},replaceTopics:{headers:{accept:"application/vnd.github.mercy-preview+json"},method:"PUT",params:{names:{required:true,type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/topics"},requestPageBuild:{method:"POST",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages/builds"},retrieveCommunityProfileMetrics:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/community/profile"},testPushHook:{method:"POST",params:{hook_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id/tests"},transfer:{method:"POST",params:{new_owner:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},team_ids:{type:"integer[]"}},url:"/repos/:owner/:repo/transfer"},update:{method:"PATCH",params:{allow_merge_commit:{type:"boolean"},allow_rebase_merge:{type:"boolean"},allow_squash_merge:{type:"boolean"},archived:{type:"boolean"},default_branch:{type:"string"},delete_branch_on_merge:{type:"boolean"},description:{type:"string"},has_issues:{type:"boolean"},has_projects:{type:"boolean"},has_wiki:{type:"boolean"},homepage:{type:"string"},is_template:{type:"boolean"},name:{type:"string"},owner:{required:true,type:"string"},private:{type:"boolean"},repo:{required:true,type:"string"},visibility:{enum:["public","private","visibility","internal"],type:"string"}},url:"/repos/:owner/:repo"},updateBranchProtection:{method:"PUT",params:{allow_deletions:{type:"boolean"},allow_force_pushes:{allowNull:true,type:"boolean"},branch:{required:true,type:"string"},enforce_admins:{allowNull:true,required:true,type:"boolean"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},required_linear_history:{type:"boolean"},required_pull_request_reviews:{allowNull:true,required:true,type:"object"},"required_pull_request_reviews.dismiss_stale_reviews":{type:"boolean"},"required_pull_request_reviews.dismissal_restrictions":{type:"object"},"required_pull_request_reviews.dismissal_restrictions.teams":{type:"string[]"},"required_pull_request_reviews.dismissal_restrictions.users":{type:"string[]"},"required_pull_request_reviews.require_code_owner_reviews":{type:"boolean"},"required_pull_request_reviews.required_approving_review_count":{type:"integer"},required_status_checks:{allowNull:true,required:true,type:"object"},"required_status_checks.contexts":{required:true,type:"string[]"},"required_status_checks.strict":{required:true,type:"boolean"},restrictions:{allowNull:true,required:true,type:"object"},"restrictions.apps":{type:"string[]"},"restrictions.teams":{required:true,type:"string[]"},"restrictions.users":{required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection"},updateCommitComment:{method:"PATCH",params:{body:{required:true,type:"string"},comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id"},updateFile:{deprecated:"octokit.repos.updateFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)",method:"PUT",params:{author:{type:"object"},"author.email":{required:true,type:"string"},"author.name":{required:true,type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{required:true,type:"string"},"committer.name":{required:true,type:"string"},content:{required:true,type:"string"},message:{required:true,type:"string"},owner:{required:true,type:"string"},path:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/contents/:path"},updateHook:{method:"PATCH",params:{active:{type:"boolean"},add_events:{type:"string[]"},config:{type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:true,type:"string"},events:{type:"string[]"},hook_id:{required:true,type:"integer"},owner:{required:true,type:"string"},remove_events:{type:"string[]"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id"},updateInformationAboutPagesSite:{method:"PUT",params:{cname:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},source:{enum:['"gh-pages"','"master"','"master /docs"'],type:"string"}},url:"/repos/:owner/:repo/pages"},updateInvitation:{method:"PATCH",params:{invitation_id:{required:true,type:"integer"},owner:{required:true,type:"string"},permissions:{enum:["read","write","admin"],type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/invitations/:invitation_id"},updateProtectedBranchPullRequestReviewEnforcement:{method:"PATCH",params:{branch:{required:true,type:"string"},dismiss_stale_reviews:{type:"boolean"},dismissal_restrictions:{type:"object"},"dismissal_restrictions.teams":{type:"string[]"},"dismissal_restrictions.users":{type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},require_code_owner_reviews:{type:"boolean"},required_approving_review_count:{type:"integer"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},updateProtectedBranchRequiredStatusChecks:{method:"PATCH",params:{branch:{required:true,type:"string"},contexts:{type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},strict:{type:"boolean"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},updateRelease:{method:"PATCH",params:{body:{type:"string"},draft:{type:"boolean"},name:{type:"string"},owner:{required:true,type:"string"},prerelease:{type:"boolean"},release_id:{required:true,type:"integer"},repo:{required:true,type:"string"},tag_name:{type:"string"},target_commitish:{type:"string"}},url:"/repos/:owner/:repo/releases/:release_id"},updateReleaseAsset:{method:"PATCH",params:{asset_id:{required:true,type:"integer"},label:{type:"string"},name:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/assets/:asset_id"},uploadReleaseAsset:{method:"POST",params:{data:{mapTo:"data",required:true,type:"string | object"},file:{alias:"data",deprecated:true,type:"string | object"},headers:{required:true,type:"object"},"headers.content-length":{required:true,type:"integer"},"headers.content-type":{required:true,type:"string"},label:{type:"string"},name:{required:true,type:"string"},url:{required:true,type:"string"}},url:":url"}},search:{code:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["indexed"],type:"string"}},url:"/search/code"},commits:{headers:{accept:"application/vnd.github.cloak-preview+json"},method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["author-date","committer-date"],type:"string"}},url:"/search/commits"},issues:{deprecated:"octokit.search.issues() has been renamed to octokit.search.issuesAndPullRequests() (2018-12-27)",method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["comments","reactions","reactions-+1","reactions--1","reactions-smile","reactions-thinking_face","reactions-heart","reactions-tada","interactions","created","updated"],type:"string"}},url:"/search/issues"},issuesAndPullRequests:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["comments","reactions","reactions-+1","reactions--1","reactions-smile","reactions-thinking_face","reactions-heart","reactions-tada","interactions","created","updated"],type:"string"}},url:"/search/issues"},labels:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},q:{required:true,type:"string"},repository_id:{required:true,type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/search/labels"},repos:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["stars","forks","help-wanted-issues","updated"],type:"string"}},url:"/search/repositories"},topics:{method:"GET",params:{q:{required:true,type:"string"}},url:"/search/topics"},users:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["followers","repositories","joined"],type:"string"}},url:"/search/users"}},teams:{addMember:{deprecated:"octokit.teams.addMember() has been renamed to octokit.teams.addMemberLegacy() (2020-01-16)",method:"PUT",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/members/:username"},addMemberLegacy:{deprecated:"octokit.teams.addMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-team-member-legacy",method:"PUT",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/members/:username"},addOrUpdateMembership:{deprecated:"octokit.teams.addOrUpdateMembership() has been renamed to octokit.teams.addOrUpdateMembershipLegacy() (2020-01-16)",method:"PUT",params:{role:{enum:["member","maintainer"],type:"string"},team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/memberships/:username"},addOrUpdateMembershipInOrg:{method:"PUT",params:{org:{required:true,type:"string"},role:{enum:["member","maintainer"],type:"string"},team_slug:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/memberships/:username"},addOrUpdateMembershipLegacy:{deprecated:"octokit.teams.addOrUpdateMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-or-update-team-membership-legacy",method:"PUT",params:{role:{enum:["member","maintainer"],type:"string"},team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/memberships/:username"},addOrUpdateProject:{deprecated:"octokit.teams.addOrUpdateProject() has been renamed to octokit.teams.addOrUpdateProjectLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{permission:{enum:["read","write","admin"],type:"string"},project_id:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},addOrUpdateProjectInOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{org:{required:true,type:"string"},permission:{enum:["read","write","admin"],type:"string"},project_id:{required:true,type:"integer"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/projects/:project_id"},addOrUpdateProjectLegacy:{deprecated:"octokit.teams.addOrUpdateProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-project-legacy",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{permission:{enum:["read","write","admin"],type:"string"},project_id:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},addOrUpdateRepo:{deprecated:"octokit.teams.addOrUpdateRepo() has been renamed to octokit.teams.addOrUpdateRepoLegacy() (2020-01-16)",method:"PUT",params:{owner:{required:true,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:true,type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},addOrUpdateRepoInOrg:{method:"PUT",params:{org:{required:true,type:"string"},owner:{required:true,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:true,type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/repos/:owner/:repo"},addOrUpdateRepoLegacy:{deprecated:"octokit.teams.addOrUpdateRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-repository-legacy",method:"PUT",params:{owner:{required:true,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:true,type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},checkManagesRepo:{deprecated:"octokit.teams.checkManagesRepo() has been renamed to octokit.teams.checkManagesRepoLegacy() (2020-01-16)",method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},checkManagesRepoInOrg:{method:"GET",params:{org:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/repos/:owner/:repo"},checkManagesRepoLegacy:{deprecated:"octokit.teams.checkManagesRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#check-if-a-team-manages-a-repository-legacy",method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},create:{method:"POST",params:{description:{type:"string"},maintainers:{type:"string[]"},name:{required:true,type:"string"},org:{required:true,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{enum:["secret","closed"],type:"string"},repo_names:{type:"string[]"}},url:"/orgs/:org/teams"},createDiscussion:{deprecated:"octokit.teams.createDiscussion() has been renamed to octokit.teams.createDiscussionLegacy() (2020-01-16)",method:"POST",params:{body:{required:true,type:"string"},private:{type:"boolean"},team_id:{required:true,type:"integer"},title:{required:true,type:"string"}},url:"/teams/:team_id/discussions"},createDiscussionComment:{deprecated:"octokit.teams.createDiscussionComment() has been renamed to octokit.teams.createDiscussionCommentLegacy() (2020-01-16)",method:"POST",params:{body:{required:true,type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},createDiscussionCommentInOrg:{method:"POST",params:{body:{required:true,type:"string"},discussion_number:{required:true,type:"integer"},org:{required:true,type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"},createDiscussionCommentLegacy:{deprecated:"octokit.teams.createDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#create-a-comment-legacy",method:"POST",params:{body:{required:true,type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},createDiscussionInOrg:{method:"POST",params:{body:{required:true,type:"string"},org:{required:true,type:"string"},private:{type:"boolean"},team_slug:{required:true,type:"string"},title:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions"},createDiscussionLegacy:{deprecated:"octokit.teams.createDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#create-a-discussion-legacy",method:"POST",params:{body:{required:true,type:"string"},private:{type:"boolean"},team_id:{required:true,type:"integer"},title:{required:true,type:"string"}},url:"/teams/:team_id/discussions"},delete:{deprecated:"octokit.teams.delete() has been renamed to octokit.teams.deleteLegacy() (2020-01-16)",method:"DELETE",params:{team_id:{required:true,type:"integer"}},url:"/teams/:team_id"},deleteDiscussion:{deprecated:"octokit.teams.deleteDiscussion() has been renamed to octokit.teams.deleteDiscussionLegacy() (2020-01-16)",method:"DELETE",params:{discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},deleteDiscussionComment:{deprecated:"octokit.teams.deleteDiscussionComment() has been renamed to octokit.teams.deleteDiscussionCommentLegacy() (2020-01-16)",method:"DELETE",params:{comment_number:{required:true,type:"integer"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},deleteDiscussionCommentInOrg:{method:"DELETE",params:{comment_number:{required:true,type:"integer"},discussion_number:{required:true,type:"integer"},org:{required:true,type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"},deleteDiscussionCommentLegacy:{deprecated:"octokit.teams.deleteDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#delete-a-comment-legacy",method:"DELETE",params:{comment_number:{required:true,type:"integer"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},deleteDiscussionInOrg:{method:"DELETE",params:{discussion_number:{required:true,type:"integer"},org:{required:true,type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number"},deleteDiscussionLegacy:{deprecated:"octokit.teams.deleteDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#delete-a-discussion-legacy",method:"DELETE",params:{discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},deleteInOrg:{method:"DELETE",params:{org:{required:true,type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug"},deleteLegacy:{deprecated:"octokit.teams.deleteLegacy() is deprecated, see https://developer.github.com/v3/teams/#delete-team-legacy",method:"DELETE",params:{team_id:{required:true,type:"integer"}},url:"/teams/:team_id"},get:{deprecated:"octokit.teams.get() has been renamed to octokit.teams.getLegacy() (2020-01-16)",method:"GET",params:{team_id:{required:true,type:"integer"}},url:"/teams/:team_id"},getByName:{method:"GET",params:{org:{required:true,type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug"},getDiscussion:{deprecated:"octokit.teams.getDiscussion() has been renamed to octokit.teams.getDiscussionLegacy() (2020-01-16)",method:"GET",params:{discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},getDiscussionComment:{deprecated:"octokit.teams.getDiscussionComment() has been renamed to octokit.teams.getDiscussionCommentLegacy() (2020-01-16)",method:"GET",params:{comment_number:{required:true,type:"integer"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},getDiscussionCommentInOrg:{method:"GET",params:{comment_number:{required:true,type:"integer"},discussion_number:{required:true,type:"integer"},org:{required:true,type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"},getDiscussionCommentLegacy:{deprecated:"octokit.teams.getDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#get-a-single-comment-legacy",method:"GET",params:{comment_number:{required:true,type:"integer"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},getDiscussionInOrg:{method:"GET",params:{discussion_number:{required:true,type:"integer"},org:{required:true,type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number"},getDiscussionLegacy:{deprecated:"octokit.teams.getDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#get-a-single-discussion-legacy",method:"GET",params:{discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},getLegacy:{deprecated:"octokit.teams.getLegacy() is deprecated, see https://developer.github.com/v3/teams/#get-team-legacy",method:"GET",params:{team_id:{required:true,type:"integer"}},url:"/teams/:team_id"},getMember:{deprecated:"octokit.teams.getMember() has been renamed to octokit.teams.getMemberLegacy() (2020-01-16)",method:"GET",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/members/:username"},getMemberLegacy:{deprecated:"octokit.teams.getMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-member-legacy",method:"GET",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/members/:username"},getMembership:{deprecated:"octokit.teams.getMembership() has been renamed to octokit.teams.getMembershipLegacy() (2020-01-16)",method:"GET",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/memberships/:username"},getMembershipInOrg:{method:"GET",params:{org:{required:true,type:"string"},team_slug:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/memberships/:username"},getMembershipLegacy:{deprecated:"octokit.teams.getMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-membership-legacy",method:"GET",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/memberships/:username"},list:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/teams"},listChild:{deprecated:"octokit.teams.listChild() has been renamed to octokit.teams.listChildLegacy() (2020-01-16)",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/teams"},listChildInOrg:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/teams"},listChildLegacy:{deprecated:"octokit.teams.listChildLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-child-teams-legacy",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/teams"},listDiscussionComments:{deprecated:"octokit.teams.listDiscussionComments() has been renamed to octokit.teams.listDiscussionCommentsLegacy() (2020-01-16)",method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},discussion_number:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},listDiscussionCommentsInOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},discussion_number:{required:true,type:"integer"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"},listDiscussionCommentsLegacy:{deprecated:"octokit.teams.listDiscussionCommentsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#list-comments-legacy",method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},discussion_number:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},listDiscussions:{deprecated:"octokit.teams.listDiscussions() has been renamed to octokit.teams.listDiscussionsLegacy() (2020-01-16)",method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions"},listDiscussionsInOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions"},listDiscussionsLegacy:{deprecated:"octokit.teams.listDiscussionsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#list-discussions-legacy",method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions"},listForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/teams"},listMembers:{deprecated:"octokit.teams.listMembers() has been renamed to octokit.teams.listMembersLegacy() (2020-01-16)",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},role:{enum:["member","maintainer","all"],type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/members"},listMembersInOrg:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},role:{enum:["member","maintainer","all"],type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/members"},listMembersLegacy:{deprecated:"octokit.teams.listMembersLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-team-members-legacy",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},role:{enum:["member","maintainer","all"],type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/members"},listPendingInvitations:{deprecated:"octokit.teams.listPendingInvitations() has been renamed to octokit.teams.listPendingInvitationsLegacy() (2020-01-16)",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/invitations"},listPendingInvitationsInOrg:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/invitations"},listPendingInvitationsLegacy:{deprecated:"octokit.teams.listPendingInvitationsLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/invitations"},listProjects:{deprecated:"octokit.teams.listProjects() has been renamed to octokit.teams.listProjectsLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects"},listProjectsInOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/projects"},listProjectsLegacy:{deprecated:"octokit.teams.listProjectsLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-projects-legacy",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects"},listRepos:{deprecated:"octokit.teams.listRepos() has been renamed to octokit.teams.listReposLegacy() (2020-01-16)",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos"},listReposInOrg:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/repos"},listReposLegacy:{deprecated:"octokit.teams.listReposLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-repos-legacy",method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos"},removeMember:{deprecated:"octokit.teams.removeMember() has been renamed to octokit.teams.removeMemberLegacy() (2020-01-16)",method:"DELETE",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/members/:username"},removeMemberLegacy:{deprecated:"octokit.teams.removeMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-member-legacy",method:"DELETE",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/members/:username"},removeMembership:{deprecated:"octokit.teams.removeMembership() has been renamed to octokit.teams.removeMembershipLegacy() (2020-01-16)",method:"DELETE",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/memberships/:username"},removeMembershipInOrg:{method:"DELETE",params:{org:{required:true,type:"string"},team_slug:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/memberships/:username"},removeMembershipLegacy:{deprecated:"octokit.teams.removeMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-membership-legacy",method:"DELETE",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/memberships/:username"},removeProject:{deprecated:"octokit.teams.removeProject() has been renamed to octokit.teams.removeProjectLegacy() (2020-01-16)",method:"DELETE",params:{project_id:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},removeProjectInOrg:{method:"DELETE",params:{org:{required:true,type:"string"},project_id:{required:true,type:"integer"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/projects/:project_id"},removeProjectLegacy:{deprecated:"octokit.teams.removeProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-project-legacy",method:"DELETE",params:{project_id:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},removeRepo:{deprecated:"octokit.teams.removeRepo() has been renamed to octokit.teams.removeRepoLegacy() (2020-01-16)",method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},removeRepoInOrg:{method:"DELETE",params:{org:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/repos/:owner/:repo"},removeRepoLegacy:{deprecated:"octokit.teams.removeRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-repository-legacy",method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},reviewProject:{deprecated:"octokit.teams.reviewProject() has been renamed to octokit.teams.reviewProjectLegacy() (2020-01-16)",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},reviewProjectInOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{org:{required:true,type:"string"},project_id:{required:true,type:"integer"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/projects/:project_id"},reviewProjectLegacy:{deprecated:"octokit.teams.reviewProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#review-a-team-project-legacy",headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},update:{deprecated:"octokit.teams.update() has been renamed to octokit.teams.updateLegacy() (2020-01-16)",method:"PATCH",params:{description:{type:"string"},name:{required:true,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{enum:["secret","closed"],type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id"},updateDiscussion:{deprecated:"octokit.teams.updateDiscussion() has been renamed to octokit.teams.updateDiscussionLegacy() (2020-01-16)",method:"PATCH",params:{body:{type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"},title:{type:"string"}},url:"/teams/:team_id/discussions/:discussion_number"},updateDiscussionComment:{deprecated:"octokit.teams.updateDiscussionComment() has been renamed to octokit.teams.updateDiscussionCommentLegacy() (2020-01-16)",method:"PATCH",params:{body:{required:true,type:"string"},comment_number:{required:true,type:"integer"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},updateDiscussionCommentInOrg:{method:"PATCH",params:{body:{required:true,type:"string"},comment_number:{required:true,type:"integer"},discussion_number:{required:true,type:"integer"},org:{required:true,type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"},updateDiscussionCommentLegacy:{deprecated:"octokit.teams.updateDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#edit-a-comment-legacy",method:"PATCH",params:{body:{required:true,type:"string"},comment_number:{required:true,type:"integer"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},updateDiscussionInOrg:{method:"PATCH",params:{body:{type:"string"},discussion_number:{required:true,type:"integer"},org:{required:true,type:"string"},team_slug:{required:true,type:"string"},title:{type:"string"}},url:"/orgs/:org/teams/:team_slug/discussions/:discussion_number"},updateDiscussionLegacy:{deprecated:"octokit.teams.updateDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#edit-a-discussion-legacy",method:"PATCH",params:{body:{type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"},title:{type:"string"}},url:"/teams/:team_id/discussions/:discussion_number"},updateInOrg:{method:"PATCH",params:{description:{type:"string"},name:{required:true,type:"string"},org:{required:true,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{enum:["secret","closed"],type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug"},updateLegacy:{deprecated:"octokit.teams.updateLegacy() is deprecated, see https://developer.github.com/v3/teams/#edit-team-legacy",method:"PATCH",params:{description:{type:"string"},name:{required:true,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{enum:["secret","closed"],type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id"}},users:{addEmails:{method:"POST",params:{emails:{required:true,type:"string[]"}},url:"/user/emails"},block:{method:"PUT",params:{username:{required:true,type:"string"}},url:"/user/blocks/:username"},checkBlocked:{method:"GET",params:{username:{required:true,type:"string"}},url:"/user/blocks/:username"},checkFollowing:{method:"GET",params:{username:{required:true,type:"string"}},url:"/user/following/:username"},checkFollowingForUser:{method:"GET",params:{target_user:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/users/:username/following/:target_user"},createGpgKey:{method:"POST",params:{armored_public_key:{type:"string"}},url:"/user/gpg_keys"},createPublicKey:{method:"POST",params:{key:{type:"string"},title:{type:"string"}},url:"/user/keys"},deleteEmails:{method:"DELETE",params:{emails:{required:true,type:"string[]"}},url:"/user/emails"},deleteGpgKey:{method:"DELETE",params:{gpg_key_id:{required:true,type:"integer"}},url:"/user/gpg_keys/:gpg_key_id"},deletePublicKey:{method:"DELETE",params:{key_id:{required:true,type:"integer"}},url:"/user/keys/:key_id"},follow:{method:"PUT",params:{username:{required:true,type:"string"}},url:"/user/following/:username"},getAuthenticated:{method:"GET",params:{},url:"/user"},getByUsername:{method:"GET",params:{username:{required:true,type:"string"}},url:"/users/:username"},getContextForUser:{method:"GET",params:{subject_id:{type:"string"},subject_type:{enum:["organization","repository","issue","pull_request"],type:"string"},username:{required:true,type:"string"}},url:"/users/:username/hovercard"},getGpgKey:{method:"GET",params:{gpg_key_id:{required:true,type:"integer"}},url:"/user/gpg_keys/:gpg_key_id"},getPublicKey:{method:"GET",params:{key_id:{required:true,type:"integer"}},url:"/user/keys/:key_id"},list:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/users"},listBlocked:{method:"GET",params:{},url:"/user/blocks"},listEmails:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/emails"},listFollowersForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/followers"},listFollowersForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/followers"},listFollowingForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/following"},listFollowingForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/following"},listGpgKeys:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/gpg_keys"},listGpgKeysForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/gpg_keys"},listPublicEmails:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/public_emails"},listPublicKeys:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/keys"},listPublicKeysForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/keys"},togglePrimaryEmailVisibility:{method:"PATCH",params:{email:{required:true,type:"string"},visibility:{required:true,type:"string"}},url:"/user/email/visibility"},unblock:{method:"DELETE",params:{username:{required:true,type:"string"}},url:"/user/blocks/:username"},unfollow:{method:"DELETE",params:{username:{required:true,type:"string"}},url:"/user/following/:username"},updateAuthenticated:{method:"PATCH",params:{bio:{type:"string"},blog:{type:"string"},company:{type:"string"},email:{type:"string"},hireable:{type:"boolean"},location:{type:"string"},name:{type:"string"}},url:"/user"}}};const n="2.4.0";function registerEndpoints(e,t){Object.keys(t).forEach(r=>{if(!e[r]){e[r]={}}Object.keys(t[r]).forEach(s=>{const n=t[r][s];const o=["method","url","headers"].reduce((e,t)=>{if(typeof n[t]!=="undefined"){e[t]=n[t]}return e},{});o.request={validate:n.params};let a=e.request.defaults(o);const u=Object.keys(n.params||{}).find(e=>n.params[e].deprecated);if(u){const t=patchForDeprecation.bind(null,e,n);a=t(e.request.defaults(o),`.${r}.${s}()`);a.endpoint=t(a.endpoint,`.${r}.${s}.endpoint()`);a.endpoint.merge=t(a.endpoint.merge,`.${r}.${s}.endpoint.merge()`)}if(n.deprecated){e[r][s]=Object.assign(function deprecatedEndpointMethod(){e.log.warn(new i.Deprecation(`[@octokit/rest] ${n.deprecated}`));e[r][s]=a;return a.apply(null,arguments)},a);return}e[r][s]=a})})}function patchForDeprecation(e,t,r,s){const n=n=>{n=Object.assign({},n);Object.keys(n).forEach(r=>{if(t.params[r]&&t.params[r].deprecated){const o=t.params[r].alias;e.log.warn(new i.Deprecation(`[@octokit/rest] "${r}" parameter is deprecated for "${s}". Use "${o}" instead`));if(!(o in n)){n[o]=n[r]}delete n[r]}});return r(n)};Object.keys(r).forEach(e=>{n[e]=r[e]});return n}function restEndpointMethods(e){e.registerEndpoints=registerEndpoints.bind(null,e);registerEndpoints(e,s);[["gitdata","git"],["authorization","oauthAuthorizations"],["pullRequests","pulls"]].forEach(([t,r])=>{Object.defineProperty(e,t,{get(){e.log.warn(new i.Deprecation(`[@octokit/plugin-rest-endpoint-methods] "octokit.${t}.*" methods are deprecated, use "octokit.${r}.*" instead`));return e[r]}})});return{}}restEndpointMethods.VERSION=n;t.restEndpointMethods=restEndpointMethods},9968:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var i=_interopDefault(r(1174));function _defineProperty(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);if(t)i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable});r.push.apply(r,i)}return r}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};if(t%2){ownKeys(Object(r),true).forEach(function(t){_defineProperty(e,t,r[t])})}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(e,Object.getOwnPropertyDescriptors(r))}else{ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}}return e}const s="3.3.4";const n=()=>Promise.resolve();function wrapRequest(e,t,r){return e.retryLimiter.schedule(doRequest,e,t,r)}async function doRequest(e,t,r){const i=r.method!=="GET"&&r.method!=="HEAD";const s=r.method==="GET"&&r.url.startsWith("/search/");const o=r.url.startsWith("/graphql");const a=~~r.request.retryCount;const u=a>0?{priority:0,weight:0}:{};if(e.clustering){u.expiration=1e3*60}if(i||o){await e.write.key(e.id).schedule(u,n)}if(i&&e.triggersNotification(r.url)){await e.notifications.key(e.id).schedule(u,n)}if(s){await e.search.key(e.id).schedule(u,n)}const p=e.global.key(e.id).schedule(u,t,r);if(o){const e=await p;if(e.data.errors!=null&&e.data.errors.some(e=>e.type==="RATE_LIMITED")){const t=Object.assign(new Error("GraphQL Rate Limit Exceeded"),{headers:e.headers,data:e.data});throw t}}return p}var o=["/orgs/{org}/invitations","/orgs/{org}/teams/{team_slug}/discussions","/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","/repos/{owner}/{repo}/collaborators/{username}","/repos/{owner}/{repo}/commits/{commit_sha}/comments","/repos/{owner}/{repo}/issues","/repos/{owner}/{repo}/issues/{issue_number}/comments","/repos/{owner}/{repo}/pulls","/repos/{owner}/{repo}/pulls/{pull_number}/comments","/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies","/repos/{owner}/{repo}/pulls/{pull_number}/merge","/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers","/repos/{owner}/{repo}/pulls/{pull_number}/reviews","/repos/{owner}/{repo}/releases","/teams/{team_id}/discussions","/teams/{team_id}/discussions/{discussion_number}/comments"];function routeMatcher(e){const t=e.map(e=>e.split("/").map(e=>e.startsWith("{")?"(?:.+?)":e).join("/"));const r=`^(?:${t.map(e=>`(?:${e})`).join("|")})[^/]*$`;return new RegExp(r,"i")}const a=routeMatcher(o);const u=a.test.bind(a);const p={};const c=function(e,t){p.global=new e.Group(_objectSpread2({id:"octokit-global",maxConcurrent:10},t));p.search=new e.Group(_objectSpread2({id:"octokit-search",maxConcurrent:1,minTime:2e3},t));p.write=new e.Group(_objectSpread2({id:"octokit-write",maxConcurrent:1,minTime:1e3},t));p.notifications=new e.Group(_objectSpread2({id:"octokit-notifications",maxConcurrent:1,minTime:3e3},t))};function throttling(e,t={}){const{enabled:r=true,Bottleneck:s=i,id:n="no-id",timeout:o=1e3*60*2,connection:a}=t.throttle||{};if(!r){return}const d={connection:a,timeout:o};if(p.global==null){c(s,d)}const l=Object.assign(_objectSpread2({clustering:a!=null,triggersNotification:u,minimumAbuseRetryAfter:5,retryAfterBaseValue:1e3,retryLimiter:new s,id:n},p),t.throttle);if(typeof l.onAbuseLimit!=="function"||typeof l.onRateLimit!=="function"){throw new Error(`octokit/plugin-throttling error:\n        You must pass the onAbuseLimit and onRateLimit error handlers.\n        See https://github.com/octokit/rest.js#throttling\n\n        const octokit = new Octokit({\n          throttle: {\n            onAbuseLimit: (retryAfter, options) => {/* ... */},\n            onRateLimit: (retryAfter, options) => {/* ... */}\n          }\n        })\n    `)}const g={};const m=new s.Events(g);g.on("abuse-limit",l.onAbuseLimit);g.on("rate-limit",l.onRateLimit);g.on("error",e=>console.warn("Error in throttling-plugin limit handler",e));l.retryLimiter.on("failed",async function(t,r){const i=r.args[r.args.length-1];const s=i.url.startsWith("/graphql")&&t.status!==401;if(!(s||t.status===403)){return}const n=~~i.request.retryCount;i.request.retryCount=n;const{wantRetry:o,retryAfter:a}=await async function(){if(/\babuse\b/i.test(t.message)){const r=Math.max(~~t.headers["retry-after"],l.minimumAbuseRetryAfter);const s=await m.trigger("abuse-limit",r,i,e);return{wantRetry:s,retryAfter:r}}if(t.headers!=null&&t.headers["x-ratelimit-remaining"]==="0"){const r=new Date(~~t.headers["x-ratelimit-reset"]*1e3).getTime();const s=Math.max(Math.ceil((r-Date.now())/1e3),0);const n=await m.trigger("rate-limit",s,i,e);return{wantRetry:n,retryAfter:s}}return{}}();if(o){i.request.retryCount++;return a*l.retryAfterBaseValue}});e.hook.wrap("request",wrapRequest.bind(null,l))}throttling.VERSION=s;throttling.triggersNotification=u;t.throttling=throttling},537:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var i=r(8932);var s=_interopDefault(r(1223));const n=s(e=>console.warn(e));class RequestError extends Error{constructor(e,t,r){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=t;Object.defineProperty(this,"code",{get(){n(new i.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return t}});this.headers=r.headers||{};const s=Object.assign({},r.request);if(r.request.headers.authorization){s.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}s.url=s.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=s}}t.RequestError=RequestError},6234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var i=r(9440);var s=r(1441);var n=r(3287);var o=_interopDefault(r(467));var a=r(13);const u="5.4.12";function getBufferResponse(e){return e.arrayBuffer()}function fetchWrapper(e){if(n.isPlainObject(e.body)||Array.isArray(e.body)){e.body=JSON.stringify(e.body)}let t={};let r;let i;const s=e.request&&e.request.fetch||o;return s(e.url,Object.assign({method:e.method,body:e.body,headers:e.headers,redirect:e.redirect},e.request)).then(s=>{i=s.url;r=s.status;for(const e of s.headers){t[e[0]]=e[1]}if(r===204||r===205){return}if(e.method==="HEAD"){if(r<400){return}throw new a.RequestError(s.statusText,r,{headers:t,request:e})}if(r===304){throw new a.RequestError("Not modified",r,{headers:t,request:e})}if(r>=400){return s.text().then(i=>{const s=new a.RequestError(i,r,{headers:t,request:e});try{let e=JSON.parse(s.message);Object.assign(s,e);let t=e.errors;s.message=s.message+": "+t.map(JSON.stringify).join(", ")}catch(e){}throw s})}const n=s.headers.get("content-type");if(/application\/json/.test(n)){return s.json()}if(!n||/^text\/|charset=utf-8$/.test(n)){return s.text()}return getBufferResponse(s)}).then(e=>{return{status:r,url:i,headers:t,data:e}}).catch(r=>{if(r instanceof a.RequestError){throw r}throw new a.RequestError(r.message,500,{headers:t,request:e})})}function withDefaults(e,t){const r=e.defaults(t);const i=function(e,t){const i=r.merge(e,t);if(!i.request||!i.request.hook){return fetchWrapper(r.parse(i))}const s=(e,t)=>{return fetchWrapper(r.parse(r.merge(e,t)))};Object.assign(s,{endpoint:r,defaults:withDefaults.bind(null,r)});return i.request.hook(s,i)};return Object.assign(i,{endpoint:r,defaults:withDefaults.bind(null,r)})}const p=withDefaults(i.endpoint,{headers:{"user-agent":`octokit-request.js/${u} ${s.getUserAgent()}`}});t.request=p},13:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var i=r(8932);var s=_interopDefault(r(1223));const n=s(e=>console.warn(e));class RequestError extends Error{constructor(e,t,r){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=t;Object.defineProperty(this,"code",{get(){n(new i.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return t}});this.headers=r.headers||{};const s=Object.assign({},r.request);if(r.request.headers.authorization){s.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}s.url=s.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=s}}t.RequestError=RequestError},1441:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&"version"in process){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return"<environment undetectable>"}t.getUserAgent=getUserAgent},9351:(e,t,r)=>{const{requestLog:i}=r(8883);const{restEndpointMethods:s}=r(3044);const n=r(9833);const o=[r(4555),r(3691),i,r(8579),s,r(2657),r(2072)];const a=n.plugin(o);function DeprecatedOctokit(e){const t=e&&e.log&&e.log.warn?e.log.warn:console.warn;t('[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead');return new a(e)}const u=Object.assign(DeprecatedOctokit,{Octokit:a});Object.keys(a).forEach(e=>{if(a.hasOwnProperty(e)){u[e]=a[e]}});e.exports=u},823:(e,t,r)=>{e.exports=Octokit;const{request:i}=r(6234);const s=r(3682);const n=r(4613);function Octokit(e,t){t=t||{};const r=new s.Collection;const o=Object.assign({debug:()=>{},info:()=>{},warn:console.warn,error:console.error},t&&t.log);const a={hook:r,log:o,request:i.defaults(n(t,o,r))};e.forEach(e=>e(a,t));return a}},9833:(e,t,r)=>{const i=r(5320);e.exports=i()},5320:(e,t,r)=>{e.exports=factory;const i=r(823);const s=r(7826);function factory(e){const t=i.bind(null,e||[]);t.plugin=s.bind(null,e||[]);return t}},4613:(e,t,r)=>{e.exports=parseOptions;const{Deprecation:i}=r(8932);const{getUserAgent:s}=r(5030);const n=r(1223);const o=r(9674);const a=n((e,t)=>e.warn(t));const u=n((e,t)=>e.warn(t));const p=n((e,t)=>e.warn(t));function parseOptions(e,t,r){if(e.headers){e.headers=Object.keys(e.headers).reduce((t,r)=>{t[r.toLowerCase()]=e.headers[r];return t},{})}const n={headers:e.headers||{},request:e.request||{},mediaType:{previews:[],format:""}};if(e.baseUrl){n.baseUrl=e.baseUrl}if(e.userAgent){n.headers["user-agent"]=e.userAgent}if(e.previews){n.mediaType.previews=e.previews}if(e.timeZone){n.headers["time-zone"]=e.timeZone}if(e.timeout){a(t,new i("[@octokit/rest] new Octokit({timeout}) is deprecated. Use {request: {timeout}} instead. See https://github.com/octokit/request.js#request"));n.request.timeout=e.timeout}if(e.agent){u(t,new i("[@octokit/rest] new Octokit({agent}) is deprecated. Use {request: {agent}} instead. See https://github.com/octokit/request.js#request"));n.request.agent=e.agent}if(e.headers){p(t,new i("[@octokit/rest] new Octokit({headers}) is deprecated. Use {userAgent, previews} instead. See https://github.com/octokit/request.js#request"))}const c=n.headers["user-agent"];const d=`octokit.js/${o.version} ${s()}`;n.headers["user-agent"]=[c,d].filter(Boolean).join(" ");n.request.hook=r.bind(null,"request");return n}},7826:(e,t,r)=>{e.exports=registerPlugin;const i=r(5320);function registerPlugin(e,t){return i(e.includes(t)?e:e.concat(t))}},795:(e,t,r)=>{e.exports=authenticate;const{Deprecation:i}=r(8932);const s=r(1223);const n=s((e,t)=>e.warn(t));function authenticate(e,t){n(e.octokit.log,new i('[@octokit/rest] octokit.authenticate() is deprecated. Use "auth" constructor option instead.'));if(!t){e.auth=false;return}switch(t.type){case"basic":if(!t.username||!t.password){throw new Error("Basic authentication requires both a username and password to be set")}break;case"oauth":if(!t.token&&!(t.key&&t.secret)){throw new Error("OAuth2 authentication requires a token or key & secret to be set")}break;case"token":case"app":if(!t.token){throw new Error("Token authentication requires a token to be set")}break;default:throw new Error("Invalid authentication type, must be 'basic', 'oauth', 'token' or 'app'")}e.auth=t}},7578:(e,t,r)=>{e.exports=authenticationBeforeRequest;const i=r(2358);const s=r(8216);function authenticationBeforeRequest(e,t){if(!e.auth.type){return}if(e.auth.type==="basic"){const r=i(`${e.auth.username}:${e.auth.password}`);t.headers.authorization=`Basic ${r}`;return}if(e.auth.type==="token"){t.headers.authorization=`token ${e.auth.token}`;return}if(e.auth.type==="app"){t.headers.authorization=`Bearer ${e.auth.token}`;const r=t.headers.accept.split(",").concat("application/vnd.github.machine-man-preview+json");t.headers.accept=s(r).filter(Boolean).join(",");return}t.url+=t.url.indexOf("?")===-1?"?":"&";if(e.auth.token){t.url+=`access_token=${encodeURIComponent(e.auth.token)}`;return}const r=encodeURIComponent(e.auth.key);const n=encodeURIComponent(e.auth.secret);t.url+=`client_id=${r}&client_secret=${n}`}},3691:(e,t,r)=>{e.exports=authenticationPlugin;const{Deprecation:i}=r(8932);const s=r(1223);const n=s((e,t)=>e.warn(t));const o=r(795);const a=r(7578);const u=r(4275);function authenticationPlugin(e,t){if(t.auth){e.authenticate=(()=>{n(e.log,new i('[@octokit/rest] octokit.authenticate() is deprecated and has no effect when "auth" option is set on Octokit constructor'))});return}const r={octokit:e,auth:false};e.authenticate=o.bind(null,r);e.hook.before("request",a.bind(null,r));e.hook.error("request",u.bind(null,r))}},4275:(e,t,r)=>{e.exports=authenticationRequestError;const{RequestError:i}=r(537);function authenticationRequestError(e,t,r){if(!t.headers)throw t;const s=/required/.test(t.headers["x-github-otp"]||"");if(t.status!==401||!s){throw t}if(t.status===401&&s&&t.request&&t.request.headers["x-github-otp"]){throw new i("Invalid one-time password for two-factor authentication",401,{headers:t.headers,request:r})}if(typeof e.auth.on2fa!=="function"){throw new i("2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication",401,{headers:t.headers,request:r})}return Promise.resolve().then(()=>{return e.auth.on2fa()}).then(t=>{const i=Object.assign(r,{headers:Object.assign({"x-github-otp":t},r.headers)});return e.octokit.request(i)})}},9733:(e,t,r)=>{e.exports=authenticationBeforeRequest;const i=r(2358);const s=r(9603);function authenticationBeforeRequest(e,t){if(typeof e.auth==="string"){t.headers.authorization=s(e.auth);return}if(e.auth.username){const r=i(`${e.auth.username}:${e.auth.password}`);t.headers.authorization=`Basic ${r}`;if(e.otp){t.headers["x-github-otp"]=e.otp}return}if(e.auth.clientId){if(/\/applications\/:?[\w_]+\/tokens\/:?[\w_]+($|\?)/.test(t.url)){const r=i(`${e.auth.clientId}:${e.auth.clientSecret}`);t.headers.authorization=`Basic ${r}`;return}t.url+=t.url.indexOf("?")===-1?"?":"&";t.url+=`client_id=${e.auth.clientId}&client_secret=${e.auth.clientSecret}`;return}return Promise.resolve().then(()=>{return e.auth()}).then(e=>{t.headers.authorization=s(e)})}},4555:(e,t,r)=>{e.exports=authenticationPlugin;const{createTokenAuth:i}=r(334);const{Deprecation:s}=r(8932);const n=r(1223);const o=r(9733);const a=r(3217);const u=r(8997);const p=r(9603);const c=n((e,t)=>e.warn(t));const d=n((e,t)=>e.warn(t));function authenticationPlugin(e,t){if(t.authStrategy){const r=t.authStrategy(t.auth);e.hook.wrap("request",r.hook);e.auth=r;return}if(!t.auth){e.auth=(()=>Promise.resolve({type:"unauthenticated"}));return}const r=typeof t.auth==="string"&&/^basic/.test(p(t.auth));if(typeof t.auth==="string"&&!r){const r=i(t.auth);e.hook.wrap("request",r.hook);e.auth=r;return}const[n,l]=r?[c,'Setting the "new Octokit({ auth })" option to a Basic Auth string is deprecated. Use https://github.com/octokit/auth-basic.js instead. See (https://octokit.github.io/rest.js/#authentication)']:[d,'Setting the "new Octokit({ auth })" option to an object without also setting the "authStrategy" option is deprecated and will be removed in v17. See (https://octokit.github.io/rest.js/#authentication)'];n(e.log,new s("[@octokit/rest] "+l));e.auth=(()=>Promise.resolve({type:"deprecated",message:l}));u(t.auth);const g={octokit:e,auth:t.auth};e.hook.before("request",o.bind(null,g));e.hook.error("request",a.bind(null,g))}},3217:(e,t,r)=>{e.exports=authenticationRequestError;const{RequestError:i}=r(537);function authenticationRequestError(e,t,r){if(!t.headers)throw t;const s=/required/.test(t.headers["x-github-otp"]||"");if(t.status!==401||!s){throw t}if(t.status===401&&s&&t.request&&t.request.headers["x-github-otp"]){if(e.otp){delete e.otp}else{throw new i("Invalid one-time password for two-factor authentication",401,{headers:t.headers,request:r})}}if(typeof e.auth.on2fa!=="function"){throw new i("2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication",401,{headers:t.headers,request:r})}return Promise.resolve().then(()=>{return e.auth.on2fa()}).then(t=>{const i=Object.assign(r,{headers:Object.assign(r.headers,{"x-github-otp":t})});return e.octokit.request(i).then(r=>{e.otp=t;return r})})}},8997:e=>{e.exports=validateAuth;function validateAuth(e){if(typeof e==="string"){return}if(typeof e==="function"){return}if(e.username&&e.password){return}if(e.clientId&&e.clientSecret){return}throw new Error(`Invalid "auth" option: ${JSON.stringify(e)}`)}},9603:(e,t,r)=>{e.exports=withAuthorizationPrefix;const i=r(5224);const s=/^[\w-]+:/;function withAuthorizationPrefix(e){if(/^(basic|bearer|token) /i.test(e)){return e}try{if(s.test(i(e))){return`basic ${e}`}}catch(e){}if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}},8579:(e,t,r)=>{e.exports=paginatePlugin;const{paginateRest:i}=r(4193);function paginatePlugin(e){Object.assign(e,i(e))}},2657:(e,t,r)=>{e.exports=octokitValidate;const i=r(6132);function octokitValidate(e){e.hook.before("request",i.bind(null,e))}},6132:(e,t,r)=>{"use strict";e.exports=validate;const{RequestError:i}=r(537);const s=r(9197);const n=r(1552);function validate(e,t){if(!t.request.validate){return}const{validate:r}=t.request;Object.keys(r).forEach(e=>{const o=s(r,e);const a=o.type;let u;let p;let c=true;let d=false;if(/\./.test(e)){u=e.replace(/\.[^.]+$/,"");d=u.slice(-2)==="[]";if(d){u=u.slice(0,-2)}p=s(t,u);c=u==="headers"||typeof p==="object"&&p!==null}const l=d?(s(t,u)||[]).map(t=>t[e.split(/\./).pop()]):[s(t,e)];l.forEach((r,s)=>{const u=typeof r!=="undefined";const p=r===null;const l=d?e.replace(/\[\]/,`[${s}]`):e;if(!o.required&&!u){return}if(!c){return}if(o.allowNull&&p){return}if(!o.allowNull&&p){throw new i(`'${l}' cannot be null`,400,{request:t})}if(o.required&&!u){throw new i(`Empty value for parameter '${l}': ${JSON.stringify(r)}`,400,{request:t})}if(a==="integer"){const e=r;r=parseInt(r,10);if(isNaN(r)){throw new i(`Invalid value for parameter '${l}': ${JSON.stringify(e)} is NaN`,400,{request:t})}}if(o.enum&&o.enum.indexOf(String(r))===-1){throw new i(`Invalid value for parameter '${l}': ${JSON.stringify(r)}`,400,{request:t})}if(o.validation){const e=new RegExp(o.validation);if(!e.test(r)){throw new i(`Invalid value for parameter '${l}': ${JSON.stringify(r)}`,400,{request:t})}}if(a==="object"&&typeof r==="string"){try{r=JSON.parse(r)}catch(e){throw new i(`JSON parse error of value for parameter '${l}': ${JSON.stringify(r)}`,400,{request:t})}}n(t,o.mapTo||l,r)})});return t}},5224:e=>{e.exports=function atob(e){return Buffer.from(e,"base64").toString("binary")}},3682:(e,t,r)=>{var i=r(4670);var s=r(5549);var n=r(6819);var o=Function.bind;var a=o.bind(o);function bindApi(e,t,r){var i=a(n,null).apply(null,r?[t,r]:[t]);e.api={remove:i};e.remove=i;["before","error","after","wrap"].forEach(function(i){var n=r?[t,i,r]:[t,i];e[i]=e.api[i]=a(s,null).apply(null,n)})}function HookSingular(){var e="h";var t={registry:{}};var r=i.bind(null,t,e);bindApi(r,t,e);return r}function HookCollection(){var e={registry:{}};var t=i.bind(null,e);bindApi(t,e);return t}var u=false;function Hook(){if(!u){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');u=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();e.exports=Hook;e.exports.Hook=Hook;e.exports.Singular=Hook.Singular;e.exports.Collection=Hook.Collection},5549:e=>{e.exports=addHook;function addHook(e,t,r,i){var s=i;if(!e.registry[r]){e.registry[r]=[]}if(t==="before"){i=function(e,t){return Promise.resolve().then(s.bind(null,t)).then(e.bind(null,t))}}if(t==="after"){i=function(e,t){var r;return Promise.resolve().then(e.bind(null,t)).then(function(e){r=e;return s(r,t)}).then(function(){return r})}}if(t==="error"){i=function(e,t){return Promise.resolve().then(e.bind(null,t)).catch(function(e){return s(e,t)})}}e.registry[r].push({hook:i,orig:s})}},4670:e=>{e.exports=register;function register(e,t,r,i){if(typeof r!=="function"){throw new Error("method for before hook must be a function")}if(!i){i={}}if(Array.isArray(t)){return t.reverse().reduce(function(t,r){return register.bind(null,e,r,t,i)},r)()}return Promise.resolve().then(function(){if(!e.registry[t]){return r(i)}return e.registry[t].reduce(function(e,t){return t.hook.bind(null,e,i)},r)()})}},6819:e=>{e.exports=removeHook;function removeHook(e,t,r){if(!e.registry[t]){return}var i=e.registry[t].map(function(e){return e.orig}).indexOf(r);if(i===-1){return}e.registry[t].splice(i,1)}},1174:function(e){(function(t,r){true?e.exports=r():0})(this,function(){"use strict";var e=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function getCjsExportFromNamespace(e){return e&&e["default"]||e}var t=function(e,t,r={}){var i,s,n;for(i in t){n=t[i];r[i]=(s=e[i])!=null?s:n}return r};var r=function(e,t,r={}){var i,s;for(i in e){s=e[i];if(t[i]!==void 0){r[i]=s}}return r};var i={load:t,overwrite:r};var s;s=class DLList{constructor(e,t){this.incr=e;this.decr=t;this._first=null;this._last=null;this.length=0}push(e){var t;this.length++;if(typeof this.incr==="function"){this.incr()}t={value:e,prev:this._last,next:null};if(this._last!=null){this._last.next=t;this._last=t}else{this._first=this._last=t}return void 0}shift(){var e;if(this._first==null){return}else{this.length--;if(typeof this.decr==="function"){this.decr()}}e=this._first.value;if((this._first=this._first.next)!=null){this._first.prev=null}else{this._last=null}return e}first(){if(this._first!=null){return this._first.value}}getArray(){var e,t,r;e=this._first;r=[];while(e!=null){r.push((t=e,e=e.next,t.value))}return r}forEachShift(e){var t;t=this.shift();while(t!=null){e(t),t=this.shift()}return void 0}debug(){var e,t,r,i,s;e=this._first;s=[];while(e!=null){s.push((t=e,e=e.next,{value:t.value,prev:(r=t.prev)!=null?r.value:void 0,next:(i=t.next)!=null?i.value:void 0}))}return s}};var n=s;var o;o=class Events{constructor(e){this.instance=e;this._events={};if(this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null){throw new Error("An Emitter already exists for this object")}this.instance.on=((e,t)=>{return this._addListener(e,"many",t)});this.instance.once=((e,t)=>{return this._addListener(e,"once",t)});this.instance.removeAllListeners=((e=null)=>{if(e!=null){return delete this._events[e]}else{return this._events={}}})}_addListener(e,t,r){var i;if((i=this._events)[e]==null){i[e]=[]}this._events[e].push({cb:r,status:t});return this.instance}listenerCount(e){if(this._events[e]!=null){return this._events[e].length}else{return 0}}async trigger(e,...t){var r,i;try{if(e!=="debug"){this.trigger("debug",`Event triggered: ${e}`,t)}if(this._events[e]==null){return}this._events[e]=this._events[e].filter(function(e){return e.status!=="none"});i=this._events[e].map(async e=>{var r,i;if(e.status==="none"){return}if(e.status==="once"){e.status="none"}try{i=typeof e.cb==="function"?e.cb(...t):void 0;if(typeof(i!=null?i.then:void 0)==="function"){return await i}else{return i}}catch(e){r=e;{this.trigger("error",r)}return null}});return(await Promise.all(i)).find(function(e){return e!=null})}catch(e){r=e;{this.trigger("error",r)}return null}}};var a=o;var u,p,c;u=n;p=a;c=class Queues{constructor(e){var t;this.Events=new p(this);this._length=0;this._lists=function(){var r,i,s;s=[];for(t=r=1,i=e;1<=i?r<=i:r>=i;t=1<=i?++r:--r){s.push(new u(()=>{return this.incr()},()=>{return this.decr()}))}return s}.call(this)}incr(){if(this._length++===0){return this.Events.trigger("leftzero")}}decr(){if(--this._length===0){return this.Events.trigger("zero")}}push(e){return this._lists[e.options.priority].push(e)}queued(e){if(e!=null){return this._lists[e].length}else{return this._length}}shiftAll(e){return this._lists.forEach(function(t){return t.forEachShift(e)})}getFirst(e=this._lists){var t,r,i;for(t=0,r=e.length;t<r;t++){i=e[t];if(i.length>0){return i}}return[]}shiftLastFrom(e){return this.getFirst(this._lists.slice(e).reverse()).shift()}};var d=c;var l;l=class BottleneckError extends Error{};var g=l;var m,h,y,f,_;f=10;h=5;_=i;m=g;y=class Job{constructor(e,t,r,i,s,n,o,a){this.task=e;this.args=t;this.rejectOnDrop=s;this.Events=n;this._states=o;this.Promise=a;this.options=_.load(r,i);this.options.priority=this._sanitizePriority(this.options.priority);if(this.options.id===i.id){this.options.id=`${this.options.id}-${this._randomIndex()}`}this.promise=new this.Promise((e,t)=>{this._resolve=e;this._reject=t});this.retryCount=0}_sanitizePriority(e){var t;t=~~e!==e?h:e;if(t<0){return 0}else if(t>f-1){return f-1}else{return t}}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:e,message:t="This job has been dropped by Bottleneck"}={}){if(this._states.remove(this.options.id)){if(this.rejectOnDrop){this._reject(e!=null?e:new m(t))}this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise});return true}else{return false}}_assertStatus(e){var t;t=this._states.jobStatus(this.options.id);if(!(t===e||e==="DONE"&&t===null)){throw new m(`Invalid job status ${t}, expected ${e}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}}doReceive(){this._states.start(this.options.id);return this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(e,t){this._assertStatus("RECEIVED");this._states.next(this.options.id);return this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:e,blocked:t})}doRun(){if(this.retryCount===0){this._assertStatus("QUEUED");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}return this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(e,t,r,i){var s,n,o;if(this.retryCount===0){this._assertStatus("RUNNING");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}n={args:this.args,options:this.options,retryCount:this.retryCount};this.Events.trigger("executing",n);try{o=await(e!=null?e.schedule(this.options,this.task,...this.args):this.task(...this.args));if(t()){this.doDone(n);await i(this.options,n);this._assertStatus("DONE");return this._resolve(o)}}catch(e){s=e;return this._onFailure(s,n,t,r,i)}}doExpire(e,t,r){var i,s;if(this._states.jobStatus(this.options.id==="RUNNING")){this._states.next(this.options.id)}this._assertStatus("EXECUTING");s={args:this.args,options:this.options,retryCount:this.retryCount};i=new m(`This job timed out after ${this.options.expiration} ms.`);return this._onFailure(i,s,e,t,r)}async _onFailure(e,t,r,i,s){var n,o;if(r()){n=await this.Events.trigger("failed",e,t);if(n!=null){o=~~n;this.Events.trigger("retry",`Retrying ${this.options.id} after ${o} ms`,t);this.retryCount++;return i(o)}else{this.doDone(t);await s(this.options,t);this._assertStatus("DONE");return this._reject(e)}}}doDone(e){this._assertStatus("EXECUTING");this._states.next(this.options.id);return this.Events.trigger("done",e)}};var b=y;var q,w,v;v=i;q=g;w=class LocalDatastore{constructor(e,t,r){this.instance=e;this.storeOptions=t;this.clientId=this.instance._randomIndex();v.load(r,r,this);this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now();this._running=0;this._done=0;this._unblockTime=0;this.ready=this.Promise.resolve();this.clients={};this._startHeartbeat()}_startHeartbeat(){var e;if(this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)){return typeof(e=this.heartbeat=setInterval(()=>{var e,t,r,i,s;i=Date.now();if(this.storeOptions.reservoirRefreshInterval!=null&&i>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval){this._lastReservoirRefresh=i;this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount;this.instance._drainAll(this.computeCapacity())}if(this.storeOptions.reservoirIncreaseInterval!=null&&i>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval){({reservoirIncreaseAmount:e,reservoirIncreaseMaximum:r,reservoir:s}=this.storeOptions);this._lastReservoirIncrease=i;t=r!=null?Math.min(e,r-s):e;if(t>0){this.storeOptions.reservoir+=t;return this.instance._drainAll(this.computeCapacity())}}},this.heartbeatInterval)).unref==="function"?e.unref():void 0}else{return clearInterval(this.heartbeat)}}async __publish__(e){await this.yieldLoop();return this.instance.Events.trigger("message",e.toString())}async __disconnect__(e){await this.yieldLoop();clearInterval(this.heartbeat);return this.Promise.resolve()}yieldLoop(e=0){return new this.Promise(function(t,r){return setTimeout(t,e)})}computePenalty(){var e;return(e=this.storeOptions.penalty)!=null?e:15*this.storeOptions.minTime||5e3}async __updateSettings__(e){await this.yieldLoop();v.overwrite(e,e,this.storeOptions);this._startHeartbeat();this.instance._drainAll(this.computeCapacity());return true}async __running__(){await this.yieldLoop();return this._running}async __queued__(){await this.yieldLoop();return this.instance.queued()}async __done__(){await this.yieldLoop();return this._done}async __groupCheck__(e){await this.yieldLoop();return this._nextRequest+this.timeout<e}computeCapacity(){var e,t;({maxConcurrent:e,reservoir:t}=this.storeOptions);if(e!=null&&t!=null){return Math.min(e-this._running,t)}else if(e!=null){return e-this._running}else if(t!=null){return t}else{return null}}conditionsCheck(e){var t;t=this.computeCapacity();return t==null||e<=t}async __incrementReservoir__(e){var t;await this.yieldLoop();t=this.storeOptions.reservoir+=e;this.instance._drainAll(this.computeCapacity());return t}async __currentReservoir__(){await this.yieldLoop();return this.storeOptions.reservoir}isBlocked(e){return this._unblockTime>=e}check(e,t){return this.conditionsCheck(e)&&this._nextRequest-t<=0}async __check__(e){var t;await this.yieldLoop();t=Date.now();return this.check(e,t)}async __register__(e,t,r){var i,s;await this.yieldLoop();i=Date.now();if(this.conditionsCheck(t)){this._running+=t;if(this.storeOptions.reservoir!=null){this.storeOptions.reservoir-=t}s=Math.max(this._nextRequest-i,0);this._nextRequest=i+s+this.storeOptions.minTime;return{success:true,wait:s,reservoir:this.storeOptions.reservoir}}else{return{success:false}}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(e,t){var r,i,s;await this.yieldLoop();if(this.storeOptions.maxConcurrent!=null&&t>this.storeOptions.maxConcurrent){throw new q(`Impossible to add a job having a weight of ${t} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`)}i=Date.now();s=this.storeOptions.highWater!=null&&e===this.storeOptions.highWater&&!this.check(t,i);r=this.strategyIsBlock()&&(s||this.isBlocked(i));if(r){this._unblockTime=i+this.computePenalty();this._nextRequest=this._unblockTime+this.storeOptions.minTime;this.instance._dropAllQueued()}return{reachedHWM:s,blocked:r,strategy:this.storeOptions.strategy}}async __free__(e,t){await this.yieldLoop();this._running-=t;this._done+=t;this.instance._drainAll(this.computeCapacity());return{running:this._running}}};var E=w;var T,k;T=g;k=class States{constructor(e){this.status=e;this._jobs={};this.counts=this.status.map(function(){return 0})}next(e){var t,r;t=this._jobs[e];r=t+1;if(t!=null&&r<this.status.length){this.counts[t]--;this.counts[r]++;return this._jobs[e]++}else if(t!=null){this.counts[t]--;return delete this._jobs[e]}}start(e){var t;t=0;this._jobs[e]=t;return this.counts[t]++}remove(e){var t;t=this._jobs[e];if(t!=null){this.counts[t]--;delete this._jobs[e]}return t!=null}jobStatus(e){var t;return(t=this.status[this._jobs[e]])!=null?t:null}statusJobs(e){var t,r,i,s,n;if(e!=null){r=this.status.indexOf(e);if(r<0){throw new T(`status must be one of ${this.status.join(", ")}`)}i=this._jobs;s=[];for(t in i){n=i[t];if(n===r){s.push(t)}}return s}else{return Object.keys(this._jobs)}}statusCounts(){return this.counts.reduce((e,t,r)=>{e[this.status[r]]=t;return e},{})}};var j=k;var O,P;O=n;P=class Sync{constructor(e,t){this.schedule=this.schedule.bind(this);this.name=e;this.Promise=t;this._running=0;this._queue=new O}isEmpty(){return this._queue.length===0}async _tryToRun(){var e,t,r,i,s,n,o;if(this._running<1&&this._queue.length>0){this._running++;({task:o,args:e,resolve:s,reject:i}=this._queue.shift());t=await async function(){try{n=await o(...e);return function(){return s(n)}}catch(e){r=e;return function(){return i(r)}}}();this._running--;this._tryToRun();return t()}}schedule(e,...t){var r,i,s;s=i=null;r=new this.Promise(function(e,t){s=e;return i=t});this._queue.push({task:e,args:t,resolve:s,reject:i});this._tryToRun();return r}};var S=P;var C="2.19.5";var G={version:C};var x=Object.freeze({version:C,default:G});var A=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var R=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var D=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var L,I,F,B,U,$;$=i;L=a;B=A;F=R;U=D;I=function(){class Group{constructor(e={}){this.deleteKey=this.deleteKey.bind(this);this.limiterOptions=e;$.load(this.limiterOptions,this.defaults,this);this.Events=new L(this);this.instances={};this.Bottleneck=ae;this._startAutoCleanup();this.sharedConnection=this.connection!=null;if(this.connection==null){if(this.limiterOptions.datastore==="redis"){this.connection=new B(Object.assign({},this.limiterOptions,{Events:this.Events}))}else if(this.limiterOptions.datastore==="ioredis"){this.connection=new F(Object.assign({},this.limiterOptions,{Events:this.Events}))}}}key(e=""){var t;return(t=this.instances[e])!=null?t:(()=>{var t;t=this.instances[e]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${e}`,timeout:this.timeout,connection:this.connection}));this.Events.trigger("created",t,e);return t})()}async deleteKey(e=""){var t,r;r=this.instances[e];if(this.connection){t=await this.connection.__runCommand__(["del",...U.allKeys(`${this.id}-${e}`)])}if(r!=null){delete this.instances[e];await r.disconnect()}return r!=null||t>0}limiters(){var e,t,r,i;t=this.instances;r=[];for(e in t){i=t[e];r.push({key:e,limiter:i})}return r}keys(){return Object.keys(this.instances)}async clusterKeys(){var e,t,r,i,s,n,o,a,u;if(this.connection==null){return this.Promise.resolve(this.keys())}n=[];e=null;u=`b_${this.id}-`.length;t="_settings".length;while(e!==0){[a,r]=await this.connection.__runCommand__(["scan",e!=null?e:0,"match",`b_${this.id}-*_settings`,"count",1e4]);e=~~a;for(i=0,o=r.length;i<o;i++){s=r[i];n.push(s.slice(u,-t))}}return n}_startAutoCleanup(){var e;clearInterval(this.interval);return typeof(e=this.interval=setInterval(async()=>{var e,t,r,i,s,n;s=Date.now();r=this.instances;i=[];for(t in r){n=r[t];try{if(await n._store.__groupCheck__(s)){i.push(this.deleteKey(t))}else{i.push(void 0)}}catch(t){e=t;i.push(n.Events.trigger("error",e))}}return i},this.timeout/2)).unref==="function"?e.unref():void 0}updateSettings(e={}){$.overwrite(e,this.defaults,this);$.overwrite(e,e,this.limiterOptions);if(e.timeout!=null){return this._startAutoCleanup()}}disconnect(e=true){var t;if(!this.sharedConnection){return(t=this.connection)!=null?t.disconnect(e):void 0}}}Group.prototype.defaults={timeout:1e3*60*5,connection:null,Promise:Promise,id:"group-key"};return Group}.call(e);var H=I;var N,z,V;V=i;z=a;N=function(){class Batcher{constructor(e={}){this.options=e;V.load(this.options,this.defaults,this);this.Events=new z(this);this._arr=[];this._resetPromise();this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise((e,t)=>{return this._resolve=e})}_flush(){clearTimeout(this._timeout);this._lastFlush=Date.now();this._resolve();this.Events.trigger("batch",this._arr);this._arr=[];return this._resetPromise()}add(e){var t;this._arr.push(e);t=this._promise;if(this._arr.length===this.maxSize){this._flush()}else if(this.maxTime!=null&&this._arr.length===1){this._timeout=setTimeout(()=>{return this._flush()},this.maxTime)}return t}}Batcher.prototype.defaults={maxTime:null,maxSize:null,Promise:Promise};return Batcher}.call(e);var W=N;var K=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var X=getCjsExportFromNamespace(x);var J,Y,Q,Z,M,ee,te,re,ie,se,ne,oe=[].splice;ee=10;Y=5;ne=i;te=d;Z=b;M=E;re=K;Q=a;ie=j;se=S;J=function(){class Bottleneck{constructor(e={},...t){var r,i;this._addToQueue=this._addToQueue.bind(this);this._validateOptions(e,t);ne.load(e,this.instanceDefaults,this);this._queues=new te(ee);this._scheduled={};this._states=new ie(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[]));this._limiter=null;this.Events=new Q(this);this._submitLock=new se("submit",this.Promise);this._registerLock=new se("register",this.Promise);i=ne.load(e,this.storeDefaults,{});this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null){r=ne.load(e,this.redisStoreDefaults,{});return new re(this,i,r)}else if(this.datastore==="local"){r=ne.load(e,this.localStoreDefaults,{});return new M(this,i,r)}else{throw new Bottleneck.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}}.call(this);this._queues.on("leftzero",()=>{var e;return(e=this._store.heartbeat)!=null?typeof e.ref==="function"?e.ref():void 0:void 0});this._queues.on("zero",()=>{var e;return(e=this._store.heartbeat)!=null?typeof e.unref==="function"?e.unref():void 0:void 0})}_validateOptions(e,t){if(!(e!=null&&typeof e==="object"&&t.length===0)){throw new Bottleneck.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(e){return this._store.__publish__(e)}disconnect(e=true){return this._store.__disconnect__(e)}chain(e){this._limiter=e;return this}queued(e){return this._queues.queued(e)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(e){return this._states.jobStatus(e)}jobs(e){return this._states.statusJobs(e)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(e=1){return this._store.__check__(e)}_clearGlobalState(e){if(this._scheduled[e]!=null){clearTimeout(this._scheduled[e].expiration);delete this._scheduled[e];return true}else{return false}}async _free(e,t,r,i){var s,n;try{({running:n}=await this._store.__free__(e,r.weight));this.Events.trigger("debug",`Freed ${r.id}`,i);if(n===0&&this.empty()){return this.Events.trigger("idle")}}catch(e){s=e;return this.Events.trigger("error",s)}}_run(e,t,r){var i,s,n;t.doRun();i=this._clearGlobalState.bind(this,e);n=this._run.bind(this,e,t);s=this._free.bind(this,e,t);return this._scheduled[e]={timeout:setTimeout(()=>{return t.doExecute(this._limiter,i,n,s)},r),expiration:t.options.expiration!=null?setTimeout(function(){return t.doExpire(i,n,s)},r+t.options.expiration):void 0,job:t}}_drainOne(e){return this._registerLock.schedule(()=>{var t,r,i,s,n;if(this.queued()===0){return this.Promise.resolve(null)}n=this._queues.getFirst();({options:s,args:t}=i=n.first());if(e!=null&&s.weight>e){return this.Promise.resolve(null)}this.Events.trigger("debug",`Draining ${s.id}`,{args:t,options:s});r=this._randomIndex();return this._store.__register__(r,s.weight,s.expiration).then(({success:e,wait:o,reservoir:a})=>{var u;this.Events.trigger("debug",`Drained ${s.id}`,{success:e,args:t,options:s});if(e){n.shift();u=this.empty();if(u){this.Events.trigger("empty")}if(a===0){this.Events.trigger("depleted",u)}this._run(r,i,o);return this.Promise.resolve(s.weight)}else{return this.Promise.resolve(null)}})})}_drainAll(e,t=0){return this._drainOne(e).then(r=>{var i;if(r!=null){i=e!=null?e-r:e;return this._drainAll(i,t+r)}else{return this.Promise.resolve(t)}}).catch(e=>{return this.Events.trigger("error",e)})}_dropAllQueued(e){return this._queues.shiftAll(function(t){return t.doDrop({message:e})})}stop(e={}){var t,r;e=ne.load(e,this.stopDefaults);r=(e=>{var t;t=(()=>{var t;t=this._states.counts;return t[0]+t[1]+t[2]+t[3]===e});return new this.Promise((e,r)=>{if(t()){return e()}else{return this.on("done",()=>{if(t()){this.removeAllListeners("done");return e()}})}})});t=e.dropWaitingJobs?(this._run=function(t,r){return r.doDrop({message:e.dropErrorMessage})},this._drainOne=(()=>{return this.Promise.resolve(null)}),this._registerLock.schedule(()=>{return this._submitLock.schedule(()=>{var t,i,s;i=this._scheduled;for(t in i){s=i[t];if(this.jobStatus(s.job.options.id)==="RUNNING"){clearTimeout(s.timeout);clearTimeout(s.expiration);s.job.doDrop({message:e.dropErrorMessage})}}this._dropAllQueued(e.dropErrorMessage);return r(0)})})):this.schedule({priority:ee-1,weight:0},()=>{return r(1)});this._receive=function(t){return t._reject(new Bottleneck.prototype.BottleneckError(e.enqueueErrorMessage))};this.stop=(()=>{return this.Promise.reject(new Bottleneck.prototype.BottleneckError("stop() has already been called"))});return t}async _addToQueue(e){var t,r,i,s,n,o,a;({args:t,options:s}=e);try{({reachedHWM:n,blocked:r,strategy:a}=await this._store.__submit__(this.queued(),s.weight))}catch(r){i=r;this.Events.trigger("debug",`Could not queue ${s.id}`,{args:t,options:s,error:i});e.doDrop({error:i});return false}if(r){e.doDrop();return true}else if(n){o=a===Bottleneck.prototype.strategy.LEAK?this._queues.shiftLastFrom(s.priority):a===Bottleneck.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(s.priority+1):a===Bottleneck.prototype.strategy.OVERFLOW?e:void 0;if(o!=null){o.doDrop()}if(o==null||a===Bottleneck.prototype.strategy.OVERFLOW){if(o==null){e.doDrop()}return n}}e.doQueue(n,r);this._queues.push(e);await this._drainAll();return n}_receive(e){if(this._states.jobStatus(e.options.id)!=null){e._reject(new Bottleneck.prototype.BottleneckError(`A job with the same id already exists (id=${e.options.id})`));return false}else{e.doReceive();return this._submitLock.schedule(this._addToQueue,e)}}submit(...e){var t,r,i,s,n,o,a;if(typeof e[0]==="function"){n=e,[r,...e]=n,[t]=oe.call(e,-1);s=ne.load({},this.jobDefaults)}else{o=e,[s,r,...e]=o,[t]=oe.call(e,-1);s=ne.load(s,this.jobDefaults)}a=((...e)=>{return new this.Promise(function(t,i){return r(...e,function(...e){return(e[0]!=null?i:t)(e)})})});i=new Z(a,e,s,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);i.promise.then(function(e){return typeof t==="function"?t(...e):void 0}).catch(function(e){if(Array.isArray(e)){return typeof t==="function"?t(...e):void 0}else{return typeof t==="function"?t(e):void 0}});return this._receive(i)}schedule(...e){var t,r,i;if(typeof e[0]==="function"){[i,...e]=e;r={}}else{[r,i,...e]=e}t=new Z(i,e,r,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);this._receive(t);return t.promise}wrap(e){var t,r;t=this.schedule.bind(this);r=function(...r){return t(e.bind(this),...r)};r.withOptions=function(r,...i){return t(r,e,...i)};return r}async updateSettings(e={}){await this._store.__updateSettings__(ne.overwrite(e,this.storeDefaults));ne.overwrite(e,this.instanceDefaults,this);return this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(e=0){return this._store.__incrementReservoir__(e)}}Bottleneck.default=Bottleneck;Bottleneck.Events=Q;Bottleneck.version=Bottleneck.prototype.version=X.version;Bottleneck.strategy=Bottleneck.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3};Bottleneck.BottleneckError=Bottleneck.prototype.BottleneckError=g;Bottleneck.Group=Bottleneck.prototype.Group=H;Bottleneck.RedisConnection=Bottleneck.prototype.RedisConnection=A;Bottleneck.IORedisConnection=Bottleneck.prototype.IORedisConnection=R;Bottleneck.Batcher=Bottleneck.prototype.Batcher=W;Bottleneck.prototype.jobDefaults={priority:Y,weight:1,expiration:null,id:"<no-id>"};Bottleneck.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:Bottleneck.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null};Bottleneck.prototype.localStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:250};Bottleneck.prototype.redisStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:false,connection:null};Bottleneck.prototype.instanceDefaults={datastore:"local",connection:null,id:"<no-id>",rejectOnDrop:true,trackDoneStatus:false,Promise:Promise};Bottleneck.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:true,dropErrorMessage:"This limiter has been stopped."};return Bottleneck}.call(e);var ae=J;var ue=ae;return ue})},2358:e=>{e.exports=function btoa(e){return new Buffer(e).toString("base64")}},2746:(e,t,r)=>{"use strict";const i=r(3129);const s=r(6855);const n=r(4101);function spawn(e,t,r){const o=s(e,t,r);const a=i.spawn(o.command,o.args,o.options);n.hookChildProcess(a,o);return a}function spawnSync(e,t,r){const o=s(e,t,r);const a=i.spawnSync(o.command,o.args,o.options);a.error=a.error||n.verifyENOENTSync(a.status,o);return a}e.exports=spawn;e.exports.spawn=spawn;e.exports.sync=spawnSync;e.exports._parse=s;e.exports._enoent=n},4101:e=>{"use strict";const t=process.platform==="win32";function notFoundError(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function hookChildProcess(e,r){if(!t){return}const i=e.emit;e.emit=function(t,s){if(t==="exit"){const t=verifyENOENT(s,r,"spawn");if(t){return i.call(e,"error",t)}}return i.apply(e,arguments)}}function verifyENOENT(e,r){if(t&&e===1&&!r.file){return notFoundError(r.original,"spawn")}return null}function verifyENOENTSync(e,r){if(t&&e===1&&!r.file){return notFoundError(r.original,"spawnSync")}return null}e.exports={hookChildProcess:hookChildProcess,verifyENOENT:verifyENOENT,verifyENOENTSync:verifyENOENTSync,notFoundError:notFoundError}},6855:(e,t,r)=>{"use strict";const i=r(5622);const s=r(8560);const n=r(7274);const o=r(4274);const a=r(1252);const u=r(5911);const p=process.platform==="win32";const c=/\.(?:com|exe)$/i;const d=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;const l=s(()=>u.satisfies(process.version,"^4.8.0 || ^5.7.0 || >= 6.0.0",true))||false;function detectShebang(e){e.file=n(e);const t=e.file&&a(e.file);if(t){e.args.unshift(e.file);e.command=t;return n(e)}return e.file}function parseNonShell(e){if(!p){return e}const t=detectShebang(e);const r=!c.test(t);if(e.options.forceShell||r){const r=d.test(t);e.command=i.normalize(e.command);e.command=o.command(e.command);e.args=e.args.map(e=>o.argument(e,r));const s=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${s}"`];e.command=process.env.comspec||"cmd.exe";e.options.windowsVerbatimArguments=true}return e}function parseShell(e){if(l){return e}const t=[e.command].concat(e.args).join(" ");if(p){e.command=typeof e.options.shell==="string"?e.options.shell:process.env.comspec||"cmd.exe";e.args=["/d","/s","/c",`"${t}"`];e.options.windowsVerbatimArguments=true}else{if(typeof e.options.shell==="string"){e.command=e.options.shell}else if(process.platform==="android"){e.command="/system/bin/sh"}else{e.command="/bin/sh"}e.args=["-c",t]}return e}function parse(e,t,r){if(t&&!Array.isArray(t)){r=t;t=null}t=t?t.slice(0):[];r=Object.assign({},r);const i={command:e,args:t,options:r,file:undefined,original:{command:e,args:t}};return r.shell?parseShell(i):parseNonShell(i)}e.exports=parse},4274:e=>{"use strict";const t=/([()\][%!^"`<>&|;, *?])/g;function escapeCommand(e){e=e.replace(t,"^$1");return e}function escapeArgument(e,r){e=`${e}`;e=e.replace(/(\\*)"/g,'$1$1\\"');e=e.replace(/(\\*)$/,"$1$1");e=`"${e}"`;e=e.replace(t,"^$1");if(r){e=e.replace(t,"^$1")}return e}e.exports.command=escapeCommand;e.exports.argument=escapeArgument},1252:(e,t,r)=>{"use strict";const i=r(5747);const s=r(7032);function readShebang(e){const t=150;let r;if(Buffer.alloc){r=Buffer.alloc(t)}else{r=new Buffer(t);r.fill(0)}let n;try{n=i.openSync(e,"r");i.readSync(n,r,0,t,0);i.closeSync(n)}catch(e){}return s(r.toString())}e.exports=readShebang},7274:(e,t,r)=>{"use strict";const i=r(5622);const s=r(4207);const n=r(539)();function resolveCommandAttempt(e,t){const r=process.cwd();const o=e.options.cwd!=null;if(o){try{process.chdir(e.options.cwd)}catch(e){}}let a;try{a=s.sync(e.command,{path:(e.options.env||process.env)[n],pathExt:t?i.delimiter:undefined})}catch(e){}finally{process.chdir(r)}if(a){a=i.resolve(o?e.options.cwd:"",a)}return a}function resolveCommand(e){return resolveCommandAttempt(e)||resolveCommandAttempt(e,true)}e.exports=resolveCommand},8932:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});class Deprecation extends Error{constructor(e){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}t.Deprecation=Deprecation},1205:(e,t,r)=>{var i=r(1223);var s=function(){};var n=function(e){return e.setHeader&&typeof e.abort==="function"};var o=function(e){return e.stdio&&Array.isArray(e.stdio)&&e.stdio.length===3};var a=function(e,t,r){if(typeof t==="function")return a(e,null,t);if(!t)t={};r=i(r||s);var u=e._writableState;var p=e._readableState;var c=t.readable||t.readable!==false&&e.readable;var d=t.writable||t.writable!==false&&e.writable;var l=false;var g=function(){if(!e.writable)m()};var m=function(){d=false;if(!c)r.call(e)};var h=function(){c=false;if(!d)r.call(e)};var y=function(t){r.call(e,t?new Error("exited with error code: "+t):null)};var f=function(t){r.call(e,t)};var _=function(){process.nextTick(b)};var b=function(){if(l)return;if(c&&!(p&&(p.ended&&!p.destroyed)))return r.call(e,new Error("premature close"));if(d&&!(u&&(u.ended&&!u.destroyed)))return r.call(e,new Error("premature close"))};var q=function(){e.req.on("finish",m)};if(n(e)){e.on("complete",m);e.on("abort",_);if(e.req)q();else e.on("request",q)}else if(d&&!u){e.on("end",g);e.on("close",g)}if(o(e))e.on("exit",y);e.on("end",h);e.on("finish",m);if(t.error!==false)e.on("error",f);e.on("close",_);return function(){l=true;e.removeListener("complete",m);e.removeListener("abort",_);e.removeListener("request",q);if(e.req)e.req.removeListener("finish",m);e.removeListener("end",g);e.removeListener("close",g);e.removeListener("finish",m);e.removeListener("exit",y);e.removeListener("end",h);e.removeListener("error",f);e.removeListener("close",_)}};e.exports=a},5447:(e,t,r)=>{"use strict";const i=r(5622);const s=r(3129);const n=r(2746);const o=r(5515);const a=r(502);const u=r(1554);const p=r(1766);const c=r(1330);const d=r(4931);const l=r(4689);const g=r(166);const m=1e3*1e3*10;function handleArgs(e,t,r){let s;r=Object.assign({extendEnv:true,env:{}},r);if(r.extendEnv){r.env=Object.assign({},process.env,r.env)}if(r.__winShell===true){delete r.__winShell;s={command:e,args:t,options:r,file:e,original:{cmd:e,args:t}}}else{s=n._parse(e,t,r)}r=Object.assign({maxBuffer:m,buffer:true,stripEof:true,preferLocal:true,localDir:s.options.cwd||process.cwd(),encoding:"utf8",reject:true,cleanup:true},s.options);r.stdio=g(r);if(r.preferLocal){r.env=a.env(Object.assign({},r,{cwd:r.localDir}))}if(r.detached){r.cleanup=false}if(process.platform==="win32"&&i.basename(s.command)==="cmd.exe"){s.args.unshift("/q")}return{cmd:s.command,args:s.args,opts:r,parsed:s}}function handleInput(e,t){if(t===null||t===undefined){return}if(u(t)){t.pipe(e.stdin)}else{e.stdin.end(t)}}function handleOutput(e,t){if(t&&e.stripEof){t=o(t)}return t}function handleShell(e,t,r){let i="/bin/sh";let s=["-c",t];r=Object.assign({},r);if(process.platform==="win32"){r.__winShell=true;i=process.env.comspec||"cmd.exe";s=["/s","/c",`"${t}"`];r.windowsVerbatimArguments=true}if(r.shell){i=r.shell;delete r.shell}return e(i,s,r)}function getStream(e,t,{encoding:r,buffer:i,maxBuffer:s}){if(!e[t]){return null}let n;if(!i){n=new Promise((r,i)=>{e[t].once("end",r).once("error",i)})}else if(r){n=p(e[t],{encoding:r,maxBuffer:s})}else{n=p.buffer(e[t],{maxBuffer:s})}return n.catch(e=>{e.stream=t;e.message=`${t} ${e.message}`;throw e})}function makeError(e,t){const{stdout:r,stderr:i}=e;let s=e.error;const{code:n,signal:o}=e;const{parsed:a,joinedCmd:u}=t;const p=t.timedOut||false;if(!s){let e="";if(Array.isArray(a.opts.stdio)){if(a.opts.stdio[2]!=="inherit"){e+=e.length>0?i:`\n${i}`}if(a.opts.stdio[1]!=="inherit"){e+=`\n${r}`}}else if(a.opts.stdio!=="inherit"){e=`\n${i}${r}`}s=new Error(`Command failed: ${u}${e}`);s.code=n<0?l(n):n}s.stdout=r;s.stderr=i;s.failed=true;s.signal=o||null;s.cmd=u;s.timedOut=p;return s}function joinCmd(e,t){let r=e;if(Array.isArray(t)&&t.length>0){r+=" "+t.join(" ")}return r}e.exports=((e,t,r)=>{const i=handleArgs(e,t,r);const{encoding:o,buffer:a,maxBuffer:u}=i.opts;const p=joinCmd(e,t);let l;try{l=s.spawn(i.cmd,i.args,i.opts)}catch(e){return Promise.reject(e)}let g;if(i.opts.cleanup){g=d(()=>{l.kill()})}let m=null;let h=false;const y=()=>{if(m){clearTimeout(m);m=null}if(g){g()}};if(i.opts.timeout>0){m=setTimeout(()=>{m=null;h=true;l.kill(i.opts.killSignal)},i.opts.timeout)}const f=new Promise(e=>{l.on("exit",(t,r)=>{y();e({code:t,signal:r})});l.on("error",t=>{y();e({error:t})});if(l.stdin){l.stdin.on("error",t=>{y();e({error:t})})}});function destroy(){if(l.stdout){l.stdout.destroy()}if(l.stderr){l.stderr.destroy()}}const _=()=>c(Promise.all([f,getStream(l,"stdout",{encoding:o,buffer:a,maxBuffer:u}),getStream(l,"stderr",{encoding:o,buffer:a,maxBuffer:u})]).then(e=>{const t=e[0];t.stdout=e[1];t.stderr=e[2];if(t.error||t.code!==0||t.signal!==null){const e=makeError(t,{joinedCmd:p,parsed:i,timedOut:h});e.killed=e.killed||l.killed;if(!i.opts.reject){return e}throw e}return{stdout:handleOutput(i.opts,t.stdout),stderr:handleOutput(i.opts,t.stderr),code:0,failed:false,killed:false,signal:null,cmd:p,timedOut:false}}),destroy);n._enoent.hookChildProcess(l,i.parsed);handleInput(l,i.opts.input);l.then=((e,t)=>_().then(e,t));l.catch=(e=>_().catch(e));return l});e.exports.stdout=((...t)=>e.exports(...t).then(e=>e.stdout));e.exports.stderr=((...t)=>e.exports(...t).then(e=>e.stderr));e.exports.shell=((t,r)=>handleShell(e.exports,t,r));e.exports.sync=((e,t,r)=>{const i=handleArgs(e,t,r);const n=joinCmd(e,t);if(u(i.opts.input)){throw new TypeError("The `input` option cannot be a stream in sync mode")}const o=s.spawnSync(i.cmd,i.args,i.opts);o.code=o.status;if(o.error||o.status!==0||o.signal!==null){const e=makeError(o,{joinedCmd:n,parsed:i});if(!i.opts.reject){return e}throw e}return{stdout:handleOutput(i.opts,o.stdout),stderr:handleOutput(i.opts,o.stderr),code:0,failed:false,signal:null,cmd:n,timedOut:false}});e.exports.shellSync=((t,r)=>handleShell(e.exports.sync,t,r))},4689:(e,t,r)=>{"use strict";const i=r(1669);let s;if(typeof i.getSystemErrorName==="function"){e.exports=i.getSystemErrorName}else{try{s=process.binding("uv");if(typeof s.errname!=="function"){throw new TypeError("uv.errname is not a function")}}catch(e){console.error("execa/lib/errname: unable to establish process.binding('uv')",e);s=null}e.exports=(e=>errname(s,e))}e.exports.__test__=errname;function errname(e,t){if(e){return e.errname(t)}if(!(t<0)){throw new Error("err >= 0")}return`Unknown system error ${t}`}},166:e=>{"use strict";const t=["stdin","stdout","stderr"];const r=e=>t.some(t=>Boolean(e[t]));e.exports=(e=>{if(!e){return null}if(e.stdio&&r(e)){throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${t.map(e=>`\`${e}\``).join(", ")}`)}if(typeof e.stdio==="string"){return e.stdio}const i=e.stdio||[];if(!Array.isArray(i)){throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof i}\``)}const s=[];const n=Math.max(i.length,t.length);for(let r=0;r<n;r++){let n=null;if(i[r]!==undefined){n=i[r]}else if(e[t[r]]!==undefined){n=e[t[r]]}s[r]=n}return s})},1585:(e,t,r)=>{"use strict";const{PassThrough:i}=r(2413);e.exports=(e=>{e=Object.assign({},e);const{array:t}=e;let{encoding:r}=e;const s=r==="buffer";let n=false;if(t){n=!(r||s)}else{r=r||"utf8"}if(s){r=null}let o=0;const a=[];const u=new i({objectMode:n});if(r){u.setEncoding(r)}u.on("data",e=>{a.push(e);if(n){o=a.length}else{o+=e.length}});u.getBufferedValue=(()=>{if(t){return a}return s?Buffer.concat(a,o):a.join("")});u.getBufferedLength=(()=>o);return u})},1766:(e,t,r)=>{"use strict";const i=r(8341);const s=r(1585);class MaxBufferError extends Error{constructor(){super("maxBuffer exceeded");this.name="MaxBufferError"}}function getStream(e,t){if(!e){return Promise.reject(new Error("Expected a stream"))}t=Object.assign({maxBuffer:Infinity},t);const{maxBuffer:r}=t;let n;return new Promise((o,a)=>{const u=e=>{if(e){e.bufferedData=n.getBufferedValue()}a(e)};n=i(e,s(t),e=>{if(e){u(e);return}o()});n.on("data",()=>{if(n.getBufferedLength()>r){u(new MaxBufferError)}})}).then(()=>n.getBufferedValue())}e.exports=getStream;e.exports.buffer=((e,t)=>getStream(e,Object.assign({},t,{encoding:"buffer"})));e.exports.array=((e,t)=>getStream(e,Object.assign({},t,{array:true})));e.exports.MaxBufferError=MaxBufferError},3287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function isObject(e){return Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var t,r;if(isObject(e)===false)return false;t=e.constructor;if(t===undefined)return true;r=t.prototype;if(isObject(r)===false)return false;if(r.hasOwnProperty("isPrototypeOf")===false){return false}return true}t.isPlainObject=isPlainObject},1554:e=>{"use strict";var t=e.exports=function(e){return e!==null&&typeof e==="object"&&typeof e.pipe==="function"};t.writable=function(e){return t(e)&&e.writable!==false&&typeof e._write==="function"&&typeof e._writableState==="object"};t.readable=function(e){return t(e)&&e.readable!==false&&typeof e._read==="function"&&typeof e._readableState==="object"};t.duplex=function(e){return t.writable(e)&&t.readable(e)};t.transform=function(e){return t.duplex(e)&&typeof e._transform==="function"&&typeof e._transformState==="object"}},7126:(e,t,r)=>{var i=r(5747);var s;if(process.platform==="win32"||global.TESTING_WINDOWS){s=r(2001)}else{s=r(9728)}e.exports=isexe;isexe.sync=sync;function isexe(e,t,r){if(typeof t==="function"){r=t;t={}}if(!r){if(typeof Promise!=="function"){throw new TypeError("callback not provided")}return new Promise(function(r,i){isexe(e,t||{},function(e,t){if(e){i(e)}else{r(t)}})})}s(e,t||{},function(e,i){if(e){if(e.code==="EACCES"||t&&t.ignoreErrors){e=null;i=false}}r(e,i)})}function sync(e,t){try{return s.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||e.code==="EACCES"){return false}else{throw e}}}},9728:(e,t,r)=>{e.exports=isexe;isexe.sync=sync;var i=r(5747);function isexe(e,t,r){i.stat(e,function(e,i){r(e,e?false:checkStat(i,t))})}function sync(e,t){return checkStat(i.statSync(e),t)}function checkStat(e,t){return e.isFile()&&checkMode(e,t)}function checkMode(e,t){var r=e.mode;var i=e.uid;var s=e.gid;var n=t.uid!==undefined?t.uid:process.getuid&&process.getuid();var o=t.gid!==undefined?t.gid:process.getgid&&process.getgid();var a=parseInt("100",8);var u=parseInt("010",8);var p=parseInt("001",8);var c=a|u;var d=r&p||r&u&&s===o||r&a&&i===n||r&c&&n===0;return d}},2001:(e,t,r)=>{e.exports=isexe;isexe.sync=sync;var i=r(5747);function checkPathExt(e,t){var r=t.pathExt!==undefined?t.pathExt:process.env.PATHEXT;if(!r){return true}r=r.split(";");if(r.indexOf("")!==-1){return true}for(var i=0;i<r.length;i++){var s=r[i].toLowerCase();if(s&&e.substr(-s.length).toLowerCase()===s){return true}}return false}function checkStat(e,t,r){if(!e.isSymbolicLink()&&!e.isFile()){return false}return checkPathExt(t,r)}function isexe(e,t,r){i.stat(e,function(i,s){r(i,i?false:checkStat(s,e,t))})}function sync(e,t){return checkStat(i.statSync(e),e,t)}},9197:e=>{var t="Expected a function";var r="__lodash_hash_undefined__";var i=1/0;var s="[object Function]",n="[object GeneratorFunction]",o="[object Symbol]";var a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,p=/^\./,c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var d=/[\\^$.*+?()[\]{}|]/g;var l=/\\(\\)?/g;var g=/^\[object .+?Constructor\]$/;var m=typeof global=="object"&&global&&global.Object===Object&&global;var h=typeof self=="object"&&self&&self.Object===Object&&self;var y=m||h||Function("return this")();function getValue(e,t){return e==null?undefined:e[t]}function isHostObject(e){var t=false;if(e!=null&&typeof e.toString!="function"){try{t=!!(e+"")}catch(e){}}return t}var f=Array.prototype,_=Function.prototype,b=Object.prototype;var q=y["__core-js_shared__"];var w=function(){var e=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var v=_.toString;var E=b.hasOwnProperty;var T=b.toString;var k=RegExp("^"+v.call(E).replace(d,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var j=y.Symbol,O=f.splice;var P=getNative(y,"Map"),S=getNative(Object,"create");var C=j?j.prototype:undefined,G=C?C.toString:undefined;function Hash(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var i=e[t];this.set(i[0],i[1])}}function hashClear(){this.__data__=S?S(null):{}}function hashDelete(e){return this.has(e)&&delete this.__data__[e]}function hashGet(e){var t=this.__data__;if(S){var i=t[e];return i===r?undefined:i}return E.call(t,e)?t[e]:undefined}function hashHas(e){var t=this.__data__;return S?t[e]!==undefined:E.call(t,e)}function hashSet(e,t){var i=this.__data__;i[e]=S&&t===undefined?r:t;return this}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function ListCache(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var i=e[t];this.set(i[0],i[1])}}function listCacheClear(){this.__data__=[]}function listCacheDelete(e){var t=this.__data__,r=assocIndexOf(t,e);if(r<0){return false}var i=t.length-1;if(r==i){t.pop()}else{O.call(t,r,1)}return true}function listCacheGet(e){var t=this.__data__,r=assocIndexOf(t,e);return r<0?undefined:t[r][1]}function listCacheHas(e){return assocIndexOf(this.__data__,e)>-1}function listCacheSet(e,t){var r=this.__data__,i=assocIndexOf(r,e);if(i<0){r.push([e,t])}else{r[i][1]=t}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var i=e[t];this.set(i[0],i[1])}}function mapCacheClear(){this.__data__={hash:new Hash,map:new(P||ListCache),string:new Hash}}function mapCacheDelete(e){return getMapData(this,e)["delete"](e)}function mapCacheGet(e){return getMapData(this,e).get(e)}function mapCacheHas(e){return getMapData(this,e).has(e)}function mapCacheSet(e,t){getMapData(this,e).set(e,t);return this}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function assocIndexOf(e,t){var r=e.length;while(r--){if(eq(e[r][0],t)){return r}}return-1}function baseGet(e,t){t=isKey(t,e)?[t]:castPath(t);var r=0,i=t.length;while(e!=null&&r<i){e=e[toKey(t[r++])]}return r&&r==i?e:undefined}function baseIsNative(e){if(!isObject(e)||isMasked(e)){return false}var t=isFunction(e)||isHostObject(e)?k:g;return t.test(toSource(e))}function baseToString(e){if(typeof e=="string"){return e}if(isSymbol(e)){return G?G.call(e):""}var t=e+"";return t=="0"&&1/e==-i?"-0":t}function castPath(e){return A(e)?e:x(e)}function getMapData(e,t){var r=e.__data__;return isKeyable(t)?r[typeof t=="string"?"string":"hash"]:r.map}function getNative(e,t){var r=getValue(e,t);return baseIsNative(r)?r:undefined}function isKey(e,t){if(A(e)){return false}var r=typeof e;if(r=="number"||r=="symbol"||r=="boolean"||e==null||isSymbol(e)){return true}return u.test(e)||!a.test(e)||t!=null&&e in Object(t)}function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function isMasked(e){return!!w&&w in e}var x=memoize(function(e){e=toString(e);var t=[];if(p.test(e)){t.push("")}e.replace(c,function(e,r,i,s){t.push(i?s.replace(l,"$1"):r||e)});return t});function toKey(e){if(typeof e=="string"||isSymbol(e)){return e}var t=e+"";return t=="0"&&1/e==-i?"-0":t}function toSource(e){if(e!=null){try{return v.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function memoize(e,r){if(typeof e!="function"||r&&typeof r!="function"){throw new TypeError(t)}var i=function(){var t=arguments,s=r?r.apply(this,t):t[0],n=i.cache;if(n.has(s)){return n.get(s)}var o=e.apply(this,t);i.cache=n.set(s,o);return o};i.cache=new(memoize.Cache||MapCache);return i}memoize.Cache=MapCache;function eq(e,t){return e===t||e!==e&&t!==t}var A=Array.isArray;function isFunction(e){var t=isObject(e)?T.call(e):"";return t==s||t==n}function isObject(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function isObjectLike(e){return!!e&&typeof e=="object"}function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&T.call(e)==o}function toString(e){return e==null?"":baseToString(e)}function get(e,t,r){var i=e==null?undefined:baseGet(e,t);return i===undefined?r:i}e.exports=get},1552:e=>{var t="Expected a function";var r="__lodash_hash_undefined__";var i=1/0,s=9007199254740991;var n="[object Function]",o="[object GeneratorFunction]",a="[object Symbol]";var u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,p=/^\w*$/,c=/^\./,d=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var l=/[\\^$.*+?()[\]{}|]/g;var g=/\\(\\)?/g;var m=/^\[object .+?Constructor\]$/;var h=/^(?:0|[1-9]\d*)$/;var y=typeof global=="object"&&global&&global.Object===Object&&global;var f=typeof self=="object"&&self&&self.Object===Object&&self;var _=y||f||Function("return this")();function getValue(e,t){return e==null?undefined:e[t]}function isHostObject(e){var t=false;if(e!=null&&typeof e.toString!="function"){try{t=!!(e+"")}catch(e){}}return t}var b=Array.prototype,q=Function.prototype,w=Object.prototype;var v=_["__core-js_shared__"];var E=function(){var e=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var T=q.toString;var k=w.hasOwnProperty;var j=w.toString;var O=RegExp("^"+T.call(k).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var P=_.Symbol,S=b.splice;var C=getNative(_,"Map"),G=getNative(Object,"create");var x=P?P.prototype:undefined,A=x?x.toString:undefined;function Hash(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var i=e[t];this.set(i[0],i[1])}}function hashClear(){this.__data__=G?G(null):{}}function hashDelete(e){return this.has(e)&&delete this.__data__[e]}function hashGet(e){var t=this.__data__;if(G){var i=t[e];return i===r?undefined:i}return k.call(t,e)?t[e]:undefined}function hashHas(e){var t=this.__data__;return G?t[e]!==undefined:k.call(t,e)}function hashSet(e,t){var i=this.__data__;i[e]=G&&t===undefined?r:t;return this}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function ListCache(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var i=e[t];this.set(i[0],i[1])}}function listCacheClear(){this.__data__=[]}function listCacheDelete(e){var t=this.__data__,r=assocIndexOf(t,e);if(r<0){return false}var i=t.length-1;if(r==i){t.pop()}else{S.call(t,r,1)}return true}function listCacheGet(e){var t=this.__data__,r=assocIndexOf(t,e);return r<0?undefined:t[r][1]}function listCacheHas(e){return assocIndexOf(this.__data__,e)>-1}function listCacheSet(e,t){var r=this.__data__,i=assocIndexOf(r,e);if(i<0){r.push([e,t])}else{r[i][1]=t}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var i=e[t];this.set(i[0],i[1])}}function mapCacheClear(){this.__data__={hash:new Hash,map:new(C||ListCache),string:new Hash}}function mapCacheDelete(e){return getMapData(this,e)["delete"](e)}function mapCacheGet(e){return getMapData(this,e).get(e)}function mapCacheHas(e){return getMapData(this,e).has(e)}function mapCacheSet(e,t){getMapData(this,e).set(e,t);return this}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function assignValue(e,t,r){var i=e[t];if(!(k.call(e,t)&&eq(i,r))||r===undefined&&!(t in e)){e[t]=r}}function assocIndexOf(e,t){var r=e.length;while(r--){if(eq(e[r][0],t)){return r}}return-1}function baseIsNative(e){if(!isObject(e)||isMasked(e)){return false}var t=isFunction(e)||isHostObject(e)?O:m;return t.test(toSource(e))}function baseSet(e,t,r,i){if(!isObject(e)){return e}t=isKey(t,e)?[t]:castPath(t);var s=-1,n=t.length,o=n-1,a=e;while(a!=null&&++s<n){var u=toKey(t[s]),p=r;if(s!=o){var c=a[u];p=i?i(c,u,a):undefined;if(p===undefined){p=isObject(c)?c:isIndex(t[s+1])?[]:{}}}assignValue(a,u,p);a=a[u]}return e}function baseToString(e){if(typeof e=="string"){return e}if(isSymbol(e)){return A?A.call(e):""}var t=e+"";return t=="0"&&1/e==-i?"-0":t}function castPath(e){return D(e)?e:R(e)}function getMapData(e,t){var r=e.__data__;return isKeyable(t)?r[typeof t=="string"?"string":"hash"]:r.map}function getNative(e,t){var r=getValue(e,t);return baseIsNative(r)?r:undefined}function isIndex(e,t){t=t==null?s:t;return!!t&&(typeof e=="number"||h.test(e))&&(e>-1&&e%1==0&&e<t)}function isKey(e,t){if(D(e)){return false}var r=typeof e;if(r=="number"||r=="symbol"||r=="boolean"||e==null||isSymbol(e)){return true}return p.test(e)||!u.test(e)||t!=null&&e in Object(t)}function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function isMasked(e){return!!E&&E in e}var R=memoize(function(e){e=toString(e);var t=[];if(c.test(e)){t.push("")}e.replace(d,function(e,r,i,s){t.push(i?s.replace(g,"$1"):r||e)});return t});function toKey(e){if(typeof e=="string"||isSymbol(e)){return e}var t=e+"";return t=="0"&&1/e==-i?"-0":t}function toSource(e){if(e!=null){try{return T.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function memoize(e,r){if(typeof e!="function"||r&&typeof r!="function"){throw new TypeError(t)}var i=function(){var t=arguments,s=r?r.apply(this,t):t[0],n=i.cache;if(n.has(s)){return n.get(s)}var o=e.apply(this,t);i.cache=n.set(s,o);return o};i.cache=new(memoize.Cache||MapCache);return i}memoize.Cache=MapCache;function eq(e,t){return e===t||e!==e&&t!==t}var D=Array.isArray;function isFunction(e){var t=isObject(e)?j.call(e):"";return t==n||t==o}function isObject(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function isObjectLike(e){return!!e&&typeof e=="object"}function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&j.call(e)==a}function toString(e){return e==null?"":baseToString(e)}function set(e,t,r){return e==null?e:baseSet(e,t,r)}e.exports=set},8216:e=>{var t=200;var r="__lodash_hash_undefined__";var i=1/0;var s="[object Function]",n="[object GeneratorFunction]";var o=/[\\^$.*+?()[\]{}|]/g;var a=/^\[object .+?Constructor\]$/;var u=typeof global=="object"&&global&&global.Object===Object&&global;var p=typeof self=="object"&&self&&self.Object===Object&&self;var c=u||p||Function("return this")();function arrayIncludes(e,t){var r=e?e.length:0;return!!r&&baseIndexOf(e,t,0)>-1}function arrayIncludesWith(e,t,r){var i=-1,s=e?e.length:0;while(++i<s){if(r(t,e[i])){return true}}return false}function baseFindIndex(e,t,r,i){var s=e.length,n=r+(i?1:-1);while(i?n--:++n<s){if(t(e[n],n,e)){return n}}return-1}function baseIndexOf(e,t,r){if(t!==t){return baseFindIndex(e,baseIsNaN,r)}var i=r-1,s=e.length;while(++i<s){if(e[i]===t){return i}}return-1}function baseIsNaN(e){return e!==e}function cacheHas(e,t){return e.has(t)}function getValue(e,t){return e==null?undefined:e[t]}function isHostObject(e){var t=false;if(e!=null&&typeof e.toString!="function"){try{t=!!(e+"")}catch(e){}}return t}function setToArray(e){var t=-1,r=Array(e.size);e.forEach(function(e){r[++t]=e});return r}var d=Array.prototype,l=Function.prototype,g=Object.prototype;var m=c["__core-js_shared__"];var h=function(){var e=/[^.]+$/.exec(m&&m.keys&&m.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var y=l.toString;var f=g.hasOwnProperty;var _=g.toString;var b=RegExp("^"+y.call(f).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var q=d.splice;var w=getNative(c,"Map"),v=getNative(c,"Set"),E=getNative(Object,"create");function Hash(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var i=e[t];this.set(i[0],i[1])}}function hashClear(){this.__data__=E?E(null):{}}function hashDelete(e){return this.has(e)&&delete this.__data__[e]}function hashGet(e){var t=this.__data__;if(E){var i=t[e];return i===r?undefined:i}return f.call(t,e)?t[e]:undefined}function hashHas(e){var t=this.__data__;return E?t[e]!==undefined:f.call(t,e)}function hashSet(e,t){var i=this.__data__;i[e]=E&&t===undefined?r:t;return this}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function ListCache(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var i=e[t];this.set(i[0],i[1])}}function listCacheClear(){this.__data__=[]}function listCacheDelete(e){var t=this.__data__,r=assocIndexOf(t,e);if(r<0){return false}var i=t.length-1;if(r==i){t.pop()}else{q.call(t,r,1)}return true}function listCacheGet(e){var t=this.__data__,r=assocIndexOf(t,e);return r<0?undefined:t[r][1]}function listCacheHas(e){return assocIndexOf(this.__data__,e)>-1}function listCacheSet(e,t){var r=this.__data__,i=assocIndexOf(r,e);if(i<0){r.push([e,t])}else{r[i][1]=t}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var i=e[t];this.set(i[0],i[1])}}function mapCacheClear(){this.__data__={hash:new Hash,map:new(w||ListCache),string:new Hash}}function mapCacheDelete(e){return getMapData(this,e)["delete"](e)}function mapCacheGet(e){return getMapData(this,e).get(e)}function mapCacheHas(e){return getMapData(this,e).has(e)}function mapCacheSet(e,t){getMapData(this,e).set(e,t);return this}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function SetCache(e){var t=-1,r=e?e.length:0;this.__data__=new MapCache;while(++t<r){this.add(e[t])}}function setCacheAdd(e){this.__data__.set(e,r);return this}function setCacheHas(e){return this.__data__.has(e)}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function assocIndexOf(e,t){var r=e.length;while(r--){if(eq(e[r][0],t)){return r}}return-1}function baseIsNative(e){if(!isObject(e)||isMasked(e)){return false}var t=isFunction(e)||isHostObject(e)?b:a;return t.test(toSource(e))}function baseUniq(e,r,i){var s=-1,n=arrayIncludes,o=e.length,a=true,u=[],p=u;if(i){a=false;n=arrayIncludesWith}else if(o>=t){var c=r?null:T(e);if(c){return setToArray(c)}a=false;n=cacheHas;p=new SetCache}else{p=r?[]:u}e:while(++s<o){var d=e[s],l=r?r(d):d;d=i||d!==0?d:0;if(a&&l===l){var g=p.length;while(g--){if(p[g]===l){continue e}}if(r){p.push(l)}u.push(d)}else if(!n(p,l,i)){if(p!==u){p.push(l)}u.push(d)}}return u}var T=!(v&&1/setToArray(new v([,-0]))[1]==i)?noop:function(e){return new v(e)};function getMapData(e,t){var r=e.__data__;return isKeyable(t)?r[typeof t=="string"?"string":"hash"]:r.map}function getNative(e,t){var r=getValue(e,t);return baseIsNative(r)?r:undefined}function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function isMasked(e){return!!h&&h in e}function toSource(e){if(e!=null){try{return y.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function uniq(e){return e&&e.length?baseUniq(e):[]}function eq(e,t){return e===t||e!==e&&t!==t}function isFunction(e){var t=isObject(e)?_.call(e):"";return t==s||t==n}function isObject(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function noop(){}e.exports=uniq},7493:(e,t,r)=>{"use strict";const i=r(2087);const s=new Map([[20,["Big Sur","11"]],[19,["Catalina","10.15"]],[18,["Mojave","10.14"]],[17,["High Sierra","10.13"]],[16,["Sierra","10.12"]],[15,["El Capitan","10.11"]],[14,["Yosemite","10.10"]],[13,["Mavericks","10.9"]],[12,["Mountain Lion","10.8"]],[11,["Lion","10.7"]],[10,["Snow Leopard","10.6"]],[9,["Leopard","10.5"]],[8,["Tiger","10.4"]],[7,["Panther","10.3"]],[6,["Jaguar","10.2"]],[5,["Puma","10.1"]]]);const n=e=>{e=Number((e||i.release()).split(".")[0]);const[t,r]=s.get(e);return{name:t,version:r}};e.exports=n;e.exports.default=n},8560:e=>{"use strict";e.exports=function(e){try{return e()}catch(e){}}},467:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var i=_interopDefault(r(2413));var s=_interopDefault(r(8605));var n=_interopDefault(r(8835));var o=_interopDefault(r(7211));var a=_interopDefault(r(8761));const u=i.Readable;const p=Symbol("buffer");const c=Symbol("type");class Blob{constructor(){this[c]="";const e=arguments[0];const t=arguments[1];const r=[];let i=0;if(e){const t=e;const s=Number(t.length);for(let e=0;e<s;e++){const s=t[e];let n;if(s instanceof Buffer){n=s}else if(ArrayBuffer.isView(s)){n=Buffer.from(s.buffer,s.byteOffset,s.byteLength)}else if(s instanceof ArrayBuffer){n=Buffer.from(s)}else if(s instanceof Blob){n=s[p]}else{n=Buffer.from(typeof s==="string"?s:String(s))}i+=n.length;r.push(n)}}this[p]=Buffer.concat(r);let s=t&&t.type!==undefined&&String(t.type).toLowerCase();if(s&&!/[^\u0020-\u007E]/.test(s)){this[c]=s}}get size(){return this[p].length}get type(){return this[c]}text(){return Promise.resolve(this[p].toString())}arrayBuffer(){const e=this[p];const t=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return Promise.resolve(t)}stream(){const e=new u;e._read=function(){};e.push(this[p]);e.push(null);return e}toString(){return"[object Blob]"}slice(){const e=this.size;const t=arguments[0];const r=arguments[1];let i,s;if(t===undefined){i=0}else if(t<0){i=Math.max(e+t,0)}else{i=Math.min(t,e)}if(r===undefined){s=e}else if(r<0){s=Math.max(e+r,0)}else{s=Math.min(r,e)}const n=Math.max(s-i,0);const o=this[p];const a=o.slice(i,i+n);const u=new Blob([],{type:arguments[2]});u[p]=a;return u}}Object.defineProperties(Blob.prototype,{size:{enumerable:true},type:{enumerable:true},slice:{enumerable:true}});Object.defineProperty(Blob.prototype,Symbol.toStringTag,{value:"Blob",writable:false,enumerable:false,configurable:true});function FetchError(e,t,r){Error.call(this,e);this.message=e;this.type=t;if(r){this.code=this.errno=r.code}Error.captureStackTrace(this,this.constructor)}FetchError.prototype=Object.create(Error.prototype);FetchError.prototype.constructor=FetchError;FetchError.prototype.name="FetchError";let d;try{d=r(2877).convert}catch(e){}const l=Symbol("Body internals");const g=i.PassThrough;function Body(e){var t=this;var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},s=r.size;let n=s===undefined?0:s;var o=r.timeout;let a=o===undefined?0:o;if(e==null){e=null}else if(isURLSearchParams(e)){e=Buffer.from(e.toString())}else if(isBlob(e))   ;else if(Buffer.isBuffer(e))   ;else if(Object.prototype.toString.call(e)==="[object ArrayBuffer]"){e=Buffer.from(e)}else if(ArrayBuffer.isView(e)){e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}else if(e instanceof i)   ;else{e=Buffer.from(String(e))}this[l]={body:e,disturbed:false,error:null};this.size=n;this.timeout=a;if(e instanceof i){e.on("error",function(e){const r=e.name==="AbortError"?e:new FetchError(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[l].error=r})}}Body.prototype={get body(){return this[l].body},get bodyUsed(){return this[l].disturbed},arrayBuffer(){return consumeBody.call(this).then(function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)})},blob(){let e=this.headers&&this.headers.get("content-type")||"";return consumeBody.call(this).then(function(t){return Object.assign(new Blob([],{type:e.toLowerCase()}),{[p]:t})})},json(){var e=this;return consumeBody.call(this).then(function(t){try{return JSON.parse(t.toString())}catch(t){return Body.Promise.reject(new FetchError(`invalid json response body at ${e.url} reason: ${t.message}`,"invalid-json"))}})},text(){return consumeBody.call(this).then(function(e){return e.toString()})},buffer(){return consumeBody.call(this)},textConverted(){var e=this;return consumeBody.call(this).then(function(t){return convertBody(t,e.headers)})}};Object.defineProperties(Body.prototype,{body:{enumerable:true},bodyUsed:{enumerable:true},arrayBuffer:{enumerable:true},blob:{enumerable:true},json:{enumerable:true},text:{enumerable:true}});Body.mixIn=function(e){for(const t of Object.getOwnPropertyNames(Body.prototype)){if(!(t in e)){const r=Object.getOwnPropertyDescriptor(Body.prototype,t);Object.defineProperty(e,t,r)}}};function consumeBody(){var e=this;if(this[l].disturbed){return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`))}this[l].disturbed=true;if(this[l].error){return Body.Promise.reject(this[l].error)}let t=this.body;if(t===null){return Body.Promise.resolve(Buffer.alloc(0))}if(isBlob(t)){t=t.stream()}if(Buffer.isBuffer(t)){return Body.Promise.resolve(t)}if(!(t instanceof i)){return Body.Promise.resolve(Buffer.alloc(0))}let r=[];let s=0;let n=false;return new Body.Promise(function(i,o){let a;if(e.timeout){a=setTimeout(function(){n=true;o(new FetchError(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))},e.timeout)}t.on("error",function(t){if(t.name==="AbortError"){n=true;o(t)}else{o(new FetchError(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))}});t.on("data",function(t){if(n||t===null){return}if(e.size&&s+t.length>e.size){n=true;o(new FetchError(`content size at ${e.url} over limit: ${e.size}`,"max-size"));return}s+=t.length;r.push(t)});t.on("end",function(){if(n){return}clearTimeout(a);try{i(Buffer.concat(r,s))}catch(t){o(new FetchError(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}})})}function convertBody(e,t){if(typeof d!=="function"){throw new Error("The package `encoding` must be installed to use the textConverted() function")}const r=t.get("content-type");let i="utf-8";let s,n;if(r){s=/charset=([^;]*)/i.exec(r)}n=e.slice(0,1024).toString();if(!s&&n){s=/<meta.+?charset=(['"])(.+?)\1/i.exec(n)}if(!s&&n){s=/<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(n);if(!s){s=/<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(n);if(s){s.pop()}}if(s){s=/charset=(.*)/i.exec(s.pop())}}if(!s&&n){s=/<\?xml.+?encoding=(['"])(.+?)\1/i.exec(n)}if(s){i=s.pop();if(i==="gb2312"||i==="gbk"){i="gb18030"}}return d(e,"UTF-8",i).toString()}function isURLSearchParams(e){if(typeof e!=="object"||typeof e.append!=="function"||typeof e.delete!=="function"||typeof e.get!=="function"||typeof e.getAll!=="function"||typeof e.has!=="function"||typeof e.set!=="function"){return false}return e.constructor.name==="URLSearchParams"||Object.prototype.toString.call(e)==="[object URLSearchParams]"||typeof e.sort==="function"}function isBlob(e){return typeof e==="object"&&typeof e.arrayBuffer==="function"&&typeof e.type==="string"&&typeof e.stream==="function"&&typeof e.constructor==="function"&&typeof e.constructor.name==="string"&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function clone(e){let t,r;let s=e.body;if(e.bodyUsed){throw new Error("cannot clone body after it is used")}if(s instanceof i&&typeof s.getBoundary!=="function"){t=new g;r=new g;s.pipe(t);s.pipe(r);e[l].body=t;s=r}return s}function extractContentType(e){if(e===null){return null}else if(typeof e==="string"){return"text/plain;charset=UTF-8"}else if(isURLSearchParams(e)){return"application/x-www-form-urlencoded;charset=UTF-8"}else if(isBlob(e)){return e.type||null}else if(Buffer.isBuffer(e)){return null}else if(Object.prototype.toString.call(e)==="[object ArrayBuffer]"){return null}else if(ArrayBuffer.isView(e)){return null}else if(typeof e.getBoundary==="function"){return`multipart/form-data;boundary=${e.getBoundary()}`}else if(e instanceof i){return null}else{return"text/plain;charset=UTF-8"}}function getTotalBytes(e){const t=e.body;if(t===null){return 0}else if(isBlob(t)){return t.size}else if(Buffer.isBuffer(t)){return t.length}else if(t&&typeof t.getLengthSync==="function"){if(t._lengthRetrievers&&t._lengthRetrievers.length==0||t.hasKnownLength&&t.hasKnownLength()){return t.getLengthSync()}return null}else{return null}}function writeToStream(e,t){const r=t.body;if(r===null){e.end()}else if(isBlob(r)){r.stream().pipe(e)}else if(Buffer.isBuffer(r)){e.write(r);e.end()}else{r.pipe(e)}}Body.Promise=global.Promise;const m=/[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/;const h=/[^\t\x20-\x7e\x80-\xff]/;function validateName(e){e=`${e}`;if(m.test(e)||e===""){throw new TypeError(`${e} is not a legal HTTP header name`)}}function validateValue(e){e=`${e}`;if(h.test(e)){throw new TypeError(`${e} is not a legal HTTP header value`)}}function find(e,t){t=t.toLowerCase();for(const r in e){if(r.toLowerCase()===t){return r}}return undefined}const y=Symbol("map");class Headers{constructor(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:undefined;this[y]=Object.create(null);if(e instanceof Headers){const t=e.raw();const r=Object.keys(t);for(const e of r){for(const r of t[e]){this.append(e,r)}}return}if(e==null)   ;else if(typeof e==="object"){const t=e[Symbol.iterator];if(t!=null){if(typeof t!=="function"){throw new TypeError("Header pairs must be iterable")}const r=[];for(const t of e){if(typeof t!=="object"||typeof t[Symbol.iterator]!=="function"){throw new TypeError("Each header pair must be iterable")}r.push(Array.from(t))}for(const e of r){if(e.length!==2){throw new TypeError("Each header pair must be a name/value tuple")}this.append(e[0],e[1])}}else{for(const t of Object.keys(e)){const r=e[t];this.append(t,r)}}}else{throw new TypeError("Provided initializer must be an object")}}get(e){e=`${e}`;validateName(e);const t=find(this[y],e);if(t===undefined){return null}return this[y][t].join(", ")}forEach(e){let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:undefined;let r=getHeaders(this);let i=0;while(i<r.length){var s=r[i];const n=s[0],o=s[1];e.call(t,o,n,this);r=getHeaders(this);i++}}set(e,t){e=`${e}`;t=`${t}`;validateName(e);validateValue(t);const r=find(this[y],e);this[y][r!==undefined?r:e]=[t]}append(e,t){e=`${e}`;t=`${t}`;validateName(e);validateValue(t);const r=find(this[y],e);if(r!==undefined){this[y][r].push(t)}else{this[y][e]=[t]}}has(e){e=`${e}`;validateName(e);return find(this[y],e)!==undefined}delete(e){e=`${e}`;validateName(e);const t=find(this[y],e);if(t!==undefined){delete this[y][t]}}raw(){return this[y]}keys(){return createHeadersIterator(this,"key")}values(){return createHeadersIterator(this,"value")}[Symbol.iterator](){return createHeadersIterator(this,"key+value")}}Headers.prototype.entries=Headers.prototype[Symbol.iterator];Object.defineProperty(Headers.prototype,Symbol.toStringTag,{value:"Headers",writable:false,enumerable:false,configurable:true});Object.defineProperties(Headers.prototype,{get:{enumerable:true},forEach:{enumerable:true},set:{enumerable:true},append:{enumerable:true},has:{enumerable:true},delete:{enumerable:true},keys:{enumerable:true},values:{enumerable:true},entries:{enumerable:true}});function getHeaders(e){let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"key+value";const r=Object.keys(e[y]).sort();return r.map(t==="key"?function(e){return e.toLowerCase()}:t==="value"?function(t){return e[y][t].join(", ")}:function(t){return[t.toLowerCase(),e[y][t].join(", ")]})}const f=Symbol("internal");function createHeadersIterator(e,t){const r=Object.create(_);r[f]={target:e,kind:t,index:0};return r}const _=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==_){throw new TypeError("Value of `this` is not a HeadersIterator")}var e=this[f];const t=e.target,r=e.kind,i=e.index;const s=getHeaders(t,r);const n=s.length;if(i>=n){return{value:undefined,done:true}}this[f].index=i+1;return{value:s[i],done:false}}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(_,Symbol.toStringTag,{value:"HeadersIterator",writable:false,enumerable:false,configurable:true});function exportNodeCompatibleHeaders(e){const t=Object.assign({__proto__:null},e[y]);const r=find(e[y],"Host");if(r!==undefined){t[r]=t[r][0]}return t}function createHeadersLenient(e){const t=new Headers;for(const r of Object.keys(e)){if(m.test(r)){continue}if(Array.isArray(e[r])){for(const i of e[r]){if(h.test(i)){continue}if(t[y][r]===undefined){t[y][r]=[i]}else{t[y][r].push(i)}}}else if(!h.test(e[r])){t[y][r]=[e[r]]}}return t}const b=Symbol("Response internals");const q=s.STATUS_CODES;class Response{constructor(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};Body.call(this,e,t);const r=t.status||200;const i=new Headers(t.headers);if(e!=null&&!i.has("Content-Type")){const t=extractContentType(e);if(t){i.append("Content-Type",t)}}this[b]={url:t.url,status:r,statusText:t.statusText||q[r],headers:i,counter:t.counter}}get url(){return this[b].url||""}get status(){return this[b].status}get ok(){return this[b].status>=200&&this[b].status<300}get redirected(){return this[b].counter>0}get statusText(){return this[b].statusText}get headers(){return this[b].headers}clone(){return new Response(clone(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}Body.mixIn(Response.prototype);Object.defineProperties(Response.prototype,{url:{enumerable:true},status:{enumerable:true},ok:{enumerable:true},redirected:{enumerable:true},statusText:{enumerable:true},headers:{enumerable:true},clone:{enumerable:true}});Object.defineProperty(Response.prototype,Symbol.toStringTag,{value:"Response",writable:false,enumerable:false,configurable:true});const w=Symbol("Request internals");const v=n.parse;const E=n.format;const T="destroy"in i.Readable.prototype;function isRequest(e){return typeof e==="object"&&typeof e[w]==="object"}function isAbortSignal(e){const t=e&&typeof e==="object"&&Object.getPrototypeOf(e);return!!(t&&t.constructor.name==="AbortSignal")}class Request{constructor(e){let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let r;if(!isRequest(e)){if(e&&e.href){r=v(e.href)}else{r=v(`${e}`)}e={}}else{r=v(e.url)}let i=t.method||e.method||"GET";i=i.toUpperCase();if((t.body!=null||isRequest(e)&&e.body!==null)&&(i==="GET"||i==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body")}let s=t.body!=null?t.body:isRequest(e)&&e.body!==null?clone(e):null;Body.call(this,s,{timeout:t.timeout||e.timeout||0,size:t.size||e.size||0});const n=new Headers(t.headers||e.headers||{});if(s!=null&&!n.has("Content-Type")){const e=extractContentType(s);if(e){n.append("Content-Type",e)}}let o=isRequest(e)?e.signal:null;if("signal"in t)o=t.signal;if(o!=null&&!isAbortSignal(o)){throw new TypeError("Expected signal to be an instanceof AbortSignal")}this[w]={method:i,redirect:t.redirect||e.redirect||"follow",headers:n,parsedURL:r,signal:o};this.follow=t.follow!==undefined?t.follow:e.follow!==undefined?e.follow:20;this.compress=t.compress!==undefined?t.compress:e.compress!==undefined?e.compress:true;this.counter=t.counter||e.counter||0;this.agent=t.agent||e.agent}get method(){return this[w].method}get url(){return E(this[w].parsedURL)}get headers(){return this[w].headers}get redirect(){return this[w].redirect}get signal(){return this[w].signal}clone(){return new Request(this)}}Body.mixIn(Request.prototype);Object.defineProperty(Request.prototype,Symbol.toStringTag,{value:"Request",writable:false,enumerable:false,configurable:true});Object.defineProperties(Request.prototype,{method:{enumerable:true},url:{enumerable:true},headers:{enumerable:true},redirect:{enumerable:true},clone:{enumerable:true},signal:{enumerable:true}});function getNodeRequestOptions(e){const t=e[w].parsedURL;const r=new Headers(e[w].headers);if(!r.has("Accept")){r.set("Accept","*/*")}if(!t.protocol||!t.hostname){throw new TypeError("Only absolute URLs are supported")}if(!/^https?:$/.test(t.protocol)){throw new TypeError("Only HTTP(S) protocols are supported")}if(e.signal&&e.body instanceof i.Readable&&!T){throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8")}let s=null;if(e.body==null&&/^(POST|PUT)$/i.test(e.method)){s="0"}if(e.body!=null){const t=getTotalBytes(e);if(typeof t==="number"){s=String(t)}}if(s){r.set("Content-Length",s)}if(!r.has("User-Agent")){r.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)")}if(e.compress&&!r.has("Accept-Encoding")){r.set("Accept-Encoding","gzip,deflate")}let n=e.agent;if(typeof n==="function"){n=n(t)}if(!r.has("Connection")&&!n){r.set("Connection","close")}return Object.assign({},t,{method:e.method,headers:exportNodeCompatibleHeaders(r),agent:n})}function AbortError(e){Error.call(this,e);this.type="aborted";this.message=e;Error.captureStackTrace(this,this.constructor)}AbortError.prototype=Object.create(Error.prototype);AbortError.prototype.constructor=AbortError;AbortError.prototype.name="AbortError";const k=i.PassThrough;const j=n.resolve;function fetch(e,t){if(!fetch.Promise){throw new Error("native promise missing, set fetch.Promise to your favorite alternative")}Body.Promise=fetch.Promise;return new fetch.Promise(function(r,n){const u=new Request(e,t);const p=getNodeRequestOptions(u);const c=(p.protocol==="https:"?o:s).request;const d=u.signal;let l=null;const g=function abort(){let e=new AbortError("The user aborted a request.");n(e);if(u.body&&u.body instanceof i.Readable){u.body.destroy(e)}if(!l||!l.body)return;l.body.emit("error",e)};if(d&&d.aborted){g();return}const m=function abortAndFinalize(){g();finalize()};const h=c(p);let y;if(d){d.addEventListener("abort",m)}function finalize(){h.abort();if(d)d.removeEventListener("abort",m);clearTimeout(y)}if(u.timeout){h.once("socket",function(e){y=setTimeout(function(){n(new FetchError(`network timeout at: ${u.url}`,"request-timeout"));finalize()},u.timeout)})}h.on("error",function(e){n(new FetchError(`request to ${u.url} failed, reason: ${e.message}`,"system",e));finalize()});h.on("response",function(e){clearTimeout(y);const t=createHeadersLenient(e.headers);if(fetch.isRedirect(e.statusCode)){const i=t.get("Location");const s=i===null?null:j(u.url,i);switch(u.redirect){case"error":n(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${u.url}`,"no-redirect"));finalize();return;case"manual":if(s!==null){try{t.set("Location",s)}catch(e){n(e)}}break;case"follow":if(s===null){break}if(u.counter>=u.follow){n(new FetchError(`maximum redirect reached at: ${u.url}`,"max-redirect"));finalize();return}const i={headers:new Headers(u.headers),follow:u.follow,counter:u.counter+1,agent:u.agent,compress:u.compress,method:u.method,body:u.body,signal:u.signal,timeout:u.timeout,size:u.size};if(e.statusCode!==303&&u.body&&getTotalBytes(u)===null){n(new FetchError("Cannot follow redirect with body being a readable stream","unsupported-redirect"));finalize();return}if(e.statusCode===303||(e.statusCode===301||e.statusCode===302)&&u.method==="POST"){i.method="GET";i.body=undefined;i.headers.delete("content-length")}r(fetch(new Request(s,i)));finalize();return}}e.once("end",function(){if(d)d.removeEventListener("abort",m)});let i=e.pipe(new k);const s={url:u.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:u.size,timeout:u.timeout,counter:u.counter};const o=t.get("Content-Encoding");if(!u.compress||u.method==="HEAD"||o===null||e.statusCode===204||e.statusCode===304){l=new Response(i,s);r(l);return}const p={flush:a.Z_SYNC_FLUSH,finishFlush:a.Z_SYNC_FLUSH};if(o=="gzip"||o=="x-gzip"){i=i.pipe(a.createGunzip(p));l=new Response(i,s);r(l);return}if(o=="deflate"||o=="x-deflate"){const t=e.pipe(new k);t.once("data",function(e){if((e[0]&15)===8){i=i.pipe(a.createInflate())}else{i=i.pipe(a.createInflateRaw())}l=new Response(i,s);r(l)});return}if(o=="br"&&typeof a.createBrotliDecompress==="function"){i=i.pipe(a.createBrotliDecompress());l=new Response(i,s);r(l);return}l=new Response(i,s);r(l)});writeToStream(h,u)})}fetch.isRedirect=function(e){return e===301||e===302||e===303||e===307||e===308};fetch.Promise=global.Promise;e.exports=t=fetch;Object.defineProperty(t,"__esModule",{value:true});t.default=t;t.Headers=Headers;t.Request=Request;t.Response=Response;t.FetchError=FetchError},502:(e,t,r)=>{"use strict";const i=r(5622);const s=r(539);e.exports=(e=>{e=Object.assign({cwd:process.cwd(),path:process.env[s()]},e);let t;let r=i.resolve(e.cwd);const n=[];while(t!==r){n.push(i.join(r,"node_modules/.bin"));t=r;r=i.resolve(r,"..")}n.push(i.dirname(process.execPath));return n.concat(e.path).join(i.delimiter)});e.exports.env=(t=>{t=Object.assign({env:process.env},t);const r=Object.assign({},t.env);const i=s({env:r});t.path=r[i];r[i]=e.exports(t);return r})},2072:(e,t,r)=>{e.exports=paginationMethodsPlugin;function paginationMethodsPlugin(e){e.getFirstPage=r(9555).bind(null,e);e.getLastPage=r(2203).bind(null,e);e.getNextPage=r(6655).bind(null,e);e.getPreviousPage=r(3032).bind(null,e);e.hasFirstPage=r(9631);e.hasLastPage=r(4286);e.hasNextPage=r(500);e.hasPreviousPage=r(5996)}},191:e=>{e.exports=deprecate;const t={};function deprecate(e){if(t[e]){return}console.warn(`DEPRECATED (@octokit/rest): ${e}`);t[e]=1}},9555:(e,t,r)=>{e.exports=getFirstPage;const i=r(8604);function getFirstPage(e,t,r){return i(e,t,"first",r)}},2203:(e,t,r)=>{e.exports=getLastPage;const i=r(8604);function getLastPage(e,t,r){return i(e,t,"last",r)}},6655:(e,t,r)=>{e.exports=getNextPage;const i=r(8604);function getNextPage(e,t,r){return i(e,t,"next",r)}},7889:e=>{e.exports=getPageLinks;function getPageLinks(e){e=e.link||e.headers.link||"";const t={};e.replace(/<([^>]*)>;\s*rel="([\w]*)"/g,(e,r,i)=>{t[i]=r});return t}},8604:(e,t,r)=>{e.exports=getPage;const i=r(191);const s=r(7889);const n=r(6058);function getPage(e,t,r,o){i(`octokit.get${r.charAt(0).toUpperCase()+r.slice(1)}Page() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);const a=s(t)[r];if(!a){const e=new n(`No ${r} page found`,404);return Promise.reject(e)}const u={url:a,headers:applyAcceptHeader(t,o)};const p=e.request(u);return p}function applyAcceptHeader(e,t){const r=e.headers&&e.headers["x-github-media-type"];if(!r||t&&t.accept){return t}t=t||{};t.accept="application/vnd."+r.replace("; param=",".").replace("; format=","+");return t}},3032:(e,t,r)=>{e.exports=getPreviousPage;const i=r(8604);function getPreviousPage(e,t,r){return i(e,t,"prev",r)}},9631:(e,t,r)=>{e.exports=hasFirstPage;const i=r(191);const s=r(7889);function hasFirstPage(e){i(`octokit.hasFirstPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);return s(e).first}},4286:(e,t,r)=>{e.exports=hasLastPage;const i=r(191);const s=r(7889);function hasLastPage(e){i(`octokit.hasLastPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);return s(e).last}},500:(e,t,r)=>{e.exports=hasNextPage;const i=r(191);const s=r(7889);function hasNextPage(e){i(`octokit.hasNextPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);return s(e).next}},5996:(e,t,r)=>{e.exports=hasPreviousPage;const i=r(191);const s=r(7889);function hasPreviousPage(e){i(`octokit.hasPreviousPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);return s(e).prev}},6058:e=>{e.exports=class HttpError extends Error{constructor(e,t,r){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.code=t;this.headers=r}}},1223:(e,t,r)=>{var i=r(2940);e.exports=i(once);e.exports.strict=i(onceStrict);once.proto=once(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})});function once(e){var t=function(){if(t.called)return t.value;t.called=true;return t.value=e.apply(this,arguments)};t.called=false;return t}function onceStrict(e){var t=function(){if(t.called)throw new Error(t.onceError);t.called=true;return t.value=e.apply(this,arguments)};var r=e.name||"Function wrapped with `once`";t.onceError=r+" shouldn't be called more than once";t.called=false;return t}},4824:(e,t,r)=>{"use strict";const i=r(2087);const s=r(7493);const n=r(3515);const o=(e,t)=>{if(!e&&t){throw new Error("You can't specify a `release` without specifying `platform`")}e=e||i.platform();let r;if(e==="darwin"){if(!t&&i.platform()==="darwin"){t=i.release()}const e=t?Number(t.split(".")[0])>15?"macOS":"OS X":"macOS";r=t?s(t).name:"";return e+(r?" "+r:"")}if(e==="linux"){if(!t&&i.platform()==="linux"){t=i.release()}r=t?t.replace(/^(\d+\.\d+).*/,"$1"):"";return"Linux"+(r?" "+r:"")}if(e==="win32"){if(!t&&i.platform()==="win32"){t=i.release()}r=t?n(t):"";return"Windows"+(r?" "+r:"")}return e};e.exports=o},1330:e=>{"use strict";e.exports=((e,t)=>{t=t||(()=>{});return e.then(e=>new Promise(e=>{e(t())}).then(()=>e),e=>new Promise(e=>{e(t())}).then(()=>{throw e}))})},539:e=>{"use strict";e.exports=(e=>{e=e||{};const t=e.env||process.env;const r=e.platform||process.platform;if(r!=="win32"){return"PATH"}return Object.keys(t).find(e=>e.toUpperCase()==="PATH")||"Path"})},8341:(e,t,r)=>{var i=r(1223);var s=r(1205);var n=r(5747);var o=function(){};var a=/^v?\.0/.test(process.version);var u=function(e){return typeof e==="function"};var p=function(e){if(!a)return false;if(!n)return false;return(e instanceof(n.ReadStream||o)||e instanceof(n.WriteStream||o))&&u(e.close)};var c=function(e){return e.setHeader&&u(e.abort)};var d=function(e,t,r,n){n=i(n);var a=false;e.on("close",function(){a=true});s(e,{readable:t,writable:r},function(e){if(e)return n(e);a=true;n()});var d=false;return function(t){if(a)return;if(d)return;d=true;if(p(e))return e.close(o);if(c(e))return e.abort();if(u(e.destroy))return e.destroy();n(t||new Error("stream was destroyed"))}};var l=function(e){e()};var g=function(e,t){return e.pipe(t)};var m=function(){var e=Array.prototype.slice.call(arguments);var t=u(e[e.length-1]||o)&&e.pop()||o;if(Array.isArray(e[0]))e=e[0];if(e.length<2)throw new Error("pump requires two streams per minimum");var r;var i=e.map(function(s,n){var o=n<e.length-1;var a=n>0;return d(s,o,a,function(e){if(!r)r=e;if(e)i.forEach(l);if(o)return;i.forEach(l);t(r)})});return e.reduce(g)};e.exports=m},5911:(e,t)=>{t=e.exports=SemVer;var r;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){r=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{r=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var i=256;var s=Number.MAX_SAFE_INTEGER||9007199254740991;var n=16;var o=t.re=[];var a=t.src=[];var u=0;var p=u++;a[p]="0|[1-9]\\d*";var c=u++;a[c]="[0-9]+";var d=u++;a[d]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var l=u++;a[l]="("+a[p]+")\\."+"("+a[p]+")\\."+"("+a[p]+")";var g=u++;a[g]="("+a[c]+")\\."+"("+a[c]+")\\."+"("+a[c]+")";var m=u++;a[m]="(?:"+a[p]+"|"+a[d]+")";var h=u++;a[h]="(?:"+a[c]+"|"+a[d]+")";var y=u++;a[y]="(?:-("+a[m]+"(?:\\."+a[m]+")*))";var f=u++;a[f]="(?:-?("+a[h]+"(?:\\."+a[h]+")*))";var _=u++;a[_]="[0-9A-Za-z-]+";var b=u++;a[b]="(?:\\+("+a[_]+"(?:\\."+a[_]+")*))";var q=u++;var w="v?"+a[l]+a[y]+"?"+a[b]+"?";a[q]="^"+w+"$";var v="[v=\\s]*"+a[g]+a[f]+"?"+a[b]+"?";var E=u++;a[E]="^"+v+"$";var T=u++;a[T]="((?:<|>)?=?)";var k=u++;a[k]=a[c]+"|x|X|\\*";var j=u++;a[j]=a[p]+"|x|X|\\*";var O=u++;a[O]="[v=\\s]*("+a[j]+")"+"(?:\\.("+a[j]+")"+"(?:\\.("+a[j]+")"+"(?:"+a[y]+")?"+a[b]+"?"+")?)?";var P=u++;a[P]="[v=\\s]*("+a[k]+")"+"(?:\\.("+a[k]+")"+"(?:\\.("+a[k]+")"+"(?:"+a[f]+")?"+a[b]+"?"+")?)?";var S=u++;a[S]="^"+a[T]+"\\s*"+a[O]+"$";var C=u++;a[C]="^"+a[T]+"\\s*"+a[P]+"$";var G=u++;a[G]="(?:^|[^\\d])"+"(\\d{1,"+n+"})"+"(?:\\.(\\d{1,"+n+"}))?"+"(?:\\.(\\d{1,"+n+"}))?"+"(?:$|[^\\d])";var x=u++;a[x]="(?:~>?)";var A=u++;a[A]="(\\s*)"+a[x]+"\\s+";o[A]=new RegExp(a[A],"g");var R="$1~";var D=u++;a[D]="^"+a[x]+a[O]+"$";var L=u++;a[L]="^"+a[x]+a[P]+"$";var I=u++;a[I]="(?:\\^)";var F=u++;a[F]="(\\s*)"+a[I]+"\\s+";o[F]=new RegExp(a[F],"g");var B="$1^";var U=u++;a[U]="^"+a[I]+a[O]+"$";var $=u++;a[$]="^"+a[I]+a[P]+"$";var H=u++;a[H]="^"+a[T]+"\\s*("+v+")$|^$";var N=u++;a[N]="^"+a[T]+"\\s*("+w+")$|^$";var z=u++;a[z]="(\\s*)"+a[T]+"\\s*("+v+"|"+a[O]+")";o[z]=new RegExp(a[z],"g");var V="$1$2$3";var W=u++;a[W]="^\\s*("+a[O]+")"+"\\s+-\\s+"+"("+a[O]+")"+"\\s*$";var K=u++;a[K]="^\\s*("+a[P]+")"+"\\s+-\\s+"+"("+a[P]+")"+"\\s*$";var X=u++;a[X]="(<|>)?=?\\s*\\*";for(var J=0;J<u;J++){r(J,a[J]);if(!o[J]){o[J]=new RegExp(a[J])}}t.parse=parse;function parse(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}if(e.length>i){return null}var r=t.loose?o[E]:o[q];if(!r.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var r=parse(e,t);return r?r.version:null}t.clean=clean;function clean(e,t){var r=parse(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>i){throw new TypeError("version is longer than "+i+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}r("SemVer",e,t);this.options=t;this.loose=!!t.loose;var n=e.trim().match(t.loose?o[E]:o[q]);if(!n){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+n[1];this.minor=+n[2];this.patch=+n[3];if(this.major>s||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>s||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>s||this.patch<0){throw new TypeError("Invalid patch version")}if(!n[4]){this.prerelease=[]}else{this.prerelease=n[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<s){return t}}return e})}this.build=n[5]?n[5].split("."):[];this.format()}SemVer.prototype.format=function(){this.version=this.major+"."+this.minor+"."+this.patch;if(this.prerelease.length){this.version+="-"+this.prerelease.join(".")}return this.version};SemVer.prototype.toString=function(){return this.version};SemVer.prototype.compare=function(e){r("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return this.compareMain(e)||this.comparePre(e)};SemVer.prototype.compareMain=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return compareIdentifiers(this.major,e.major)||compareIdentifiers(this.minor,e.minor)||compareIdentifiers(this.patch,e.patch)};SemVer.prototype.comparePre=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}var t=0;do{var i=this.prerelease[t];var s=e.prerelease[t];r("prerelease compare",t,i,s);if(i===undefined&&s===undefined){return 0}else if(s===undefined){return 1}else if(i===undefined){return-1}else if(i===s){continue}else{return compareIdentifiers(i,s)}}while(++t)};SemVer.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t);this.inc("pre",t);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t)}this.inc("pre",t);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{var r=this.prerelease.length;while(--r>=0){if(typeof this.prerelease[r]==="number"){this.prerelease[r]++;r=-2}}if(r===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,r,i){if(typeof r==="string"){i=r;r=undefined}try{return new SemVer(e,r).inc(t,i).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var r=parse(e);var i=parse(t);var s="";if(r.prerelease.length||i.prerelease.length){s="pre";var n="prerelease"}for(var o in r){if(o==="major"||o==="minor"||o==="patch"){if(r[o]!==i[o]){return s+o}}}return n}}t.compareIdentifiers=compareIdentifiers;var Y=/^[0-9]+$/;function compareIdentifiers(e,t){var r=Y.test(e);var i=Y.test(t);if(r&&i){e=+e;t=+t}return e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1}t.rcompareIdentifiers=rcompareIdentifiers;function rcompareIdentifiers(e,t){return compareIdentifiers(t,e)}t.major=major;function major(e,t){return new SemVer(e,t).major}t.minor=minor;function minor(e,t){return new SemVer(e,t).minor}t.patch=patch;function patch(e,t){return new SemVer(e,t).patch}t.compare=compare;function compare(e,t,r){return new SemVer(e,r).compare(new SemVer(t,r))}t.compareLoose=compareLoose;function compareLoose(e,t){return compare(e,t,true)}t.rcompare=rcompare;function rcompare(e,t,r){return compare(t,e,r)}t.sort=sort;function sort(e,r){return e.sort(function(e,i){return t.compare(e,i,r)})}t.rsort=rsort;function rsort(e,r){return e.sort(function(e,i){return t.rcompare(e,i,r)})}t.gt=gt;function gt(e,t,r){return compare(e,t,r)>0}t.lt=lt;function lt(e,t,r){return compare(e,t,r)<0}t.eq=eq;function eq(e,t,r){return compare(e,t,r)===0}t.neq=neq;function neq(e,t,r){return compare(e,t,r)!==0}t.gte=gte;function gte(e,t,r){return compare(e,t,r)>=0}t.lte=lte;function lte(e,t,r){return compare(e,t,r)<=0}t.cmp=cmp;function cmp(e,t,r,i){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return eq(e,r,i);case"!=":return neq(e,r,i);case">":return gt(e,r,i);case">=":return gte(e,r,i);case"<":return lt(e,r,i);case"<=":return lte(e,r,i);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}r("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===Q){this.value=""}else{this.value=this.operator+this.semver.version}r("comp",this)}var Q={};Comparator.prototype.parse=function(e){var t=this.options.loose?o[H]:o[N];var r=e.match(t);if(!r){throw new TypeError("Invalid comparator: "+e)}this.operator=r[1];if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=Q}else{this.semver=new SemVer(r[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){r("Comparator.test",e,this.options.loose);if(this.semver===Q){return true}if(typeof e==="string"){e=new SemVer(e,this.options)}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var r;if(this.operator===""){r=new Range(e.value,t);return satisfies(this.value,r,t)}else if(e.operator===""){r=new Range(this.value,t);return satisfies(e.semver,r,t)}var i=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var s=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var n=this.semver.version===e.semver.version;var o=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var a=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var u=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return i||s||n&&o||a||u};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length});if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var i=t?o[K]:o[W];e=e.replace(i,hyphenReplace);r("hyphen replace",e);e=e.replace(o[z],V);r("comparator trim",e,o[z]);e=e.replace(o[A],R);e=e.replace(o[F],B);e=e.split(/\s+/).join(" ");var s=t?o[H]:o[N];var n=e.split(" ").map(function(e){return parseComparator(e,this.options)},this).join(" ").split(/\s+/);if(this.options.loose){n=n.filter(function(e){return!!e.match(s)})}n=n.map(function(e){return new Comparator(e,this.options)},this);return n};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some(function(r){return r.every(function(r){return e.set.some(function(e){return e.every(function(e){return r.intersects(e,t)})})})})};t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})}function parseComparator(e,t){r("comp",e,t);e=replaceCarets(e,t);r("caret",e);e=replaceTildes(e,t);r("tildes",e);e=replaceXRanges(e,t);r("xrange",e);e=replaceStars(e,t);r("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map(function(e){return replaceTilde(e,t)}).join(" ")}function replaceTilde(e,t){var i=t.loose?o[L]:o[D];return e.replace(i,function(t,i,s,n,o){r("tilde",e,t,i,s,n,o);var a;if(isX(i)){a=""}else if(isX(s)){a=">="+i+".0.0 <"+(+i+1)+".0.0"}else if(isX(n)){a=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0"}else if(o){r("replaceTilde pr",o);a=">="+i+"."+s+"."+n+"-"+o+" <"+i+"."+(+s+1)+".0"}else{a=">="+i+"."+s+"."+n+" <"+i+"."+(+s+1)+".0"}r("tilde return",a);return a})}function replaceCarets(e,t){return e.trim().split(/\s+/).map(function(e){return replaceCaret(e,t)}).join(" ")}function replaceCaret(e,t){r("caret",e,t);var i=t.loose?o[$]:o[U];return e.replace(i,function(t,i,s,n,o){r("caret",e,t,i,s,n,o);var a;if(isX(i)){a=""}else if(isX(s)){a=">="+i+".0.0 <"+(+i+1)+".0.0"}else if(isX(n)){if(i==="0"){a=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0"}else{a=">="+i+"."+s+".0 <"+(+i+1)+".0.0"}}else if(o){r("replaceCaret pr",o);if(i==="0"){if(s==="0"){a=">="+i+"."+s+"."+n+"-"+o+" <"+i+"."+s+"."+(+n+1)}else{a=">="+i+"."+s+"."+n+"-"+o+" <"+i+"."+(+s+1)+".0"}}else{a=">="+i+"."+s+"."+n+"-"+o+" <"+(+i+1)+".0.0"}}else{r("no pr");if(i==="0"){if(s==="0"){a=">="+i+"."+s+"."+n+" <"+i+"."+s+"."+(+n+1)}else{a=">="+i+"."+s+"."+n+" <"+i+"."+(+s+1)+".0"}}else{a=">="+i+"."+s+"."+n+" <"+(+i+1)+".0.0"}}r("caret return",a);return a})}function replaceXRanges(e,t){r("replaceXRanges",e,t);return e.split(/\s+/).map(function(e){return replaceXRange(e,t)}).join(" ")}function replaceXRange(e,t){e=e.trim();var i=t.loose?o[C]:o[S];return e.replace(i,function(t,i,s,n,o,a){r("xRange",e,t,i,s,n,o,a);var u=isX(s);var p=u||isX(n);var c=p||isX(o);var d=c;if(i==="="&&d){i=""}if(u){if(i===">"||i==="<"){t="<0.0.0"}else{t="*"}}else if(i&&d){if(p){n=0}o=0;if(i===">"){i=">=";if(p){s=+s+1;n=0;o=0}else{n=+n+1;o=0}}else if(i==="<="){i="<";if(p){s=+s+1}else{n=+n+1}}t=i+s+"."+n+"."+o}else if(p){t=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(c){t=">="+s+"."+n+".0 <"+s+"."+(+n+1)+".0"}r("xRange return",t);return t})}function replaceStars(e,t){r("replaceStars",e,t);return e.trim().replace(o[X],"")}function hyphenReplace(e,t,r,i,s,n,o,a,u,p,c,d,l){if(isX(r)){t=""}else if(isX(i)){t=">="+r+".0.0"}else if(isX(s)){t=">="+r+"."+i+".0"}else{t=">="+t}if(isX(u)){a=""}else if(isX(p)){a="<"+(+u+1)+".0.0"}else if(isX(c)){a="<"+u+"."+(+p+1)+".0"}else if(d){a="<="+u+"."+p+"."+c+"-"+d}else{a="<="+a}return(t+" "+a).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var t=0;t<this.set.length;t++){if(testSet(this.set[t],e,this.options)){return true}}return false};function testSet(e,t,i){for(var s=0;s<e.length;s++){if(!e[s].test(t)){return false}}if(t.prerelease.length&&!i.includePrerelease){for(s=0;s<e.length;s++){r(e[s].semver);if(e[s].semver===Q){continue}if(e[s].semver.prerelease.length>0){var n=e[s].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,r){try{t=new Range(t,r)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,r){var i=null;var s=null;try{var n=new Range(t,r)}catch(e){return null}e.forEach(function(e){if(n.test(e)){if(!i||s.compare(e)===-1){i=e;s=new SemVer(i,r)}}});return i}t.minSatisfying=minSatisfying;function minSatisfying(e,t,r){var i=null;var s=null;try{var n=new Range(t,r)}catch(e){return null}e.forEach(function(e){if(n.test(e)){if(!i||s.compare(e)===1){i=e;s=new SemVer(i,r)}}});return i}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var r=new SemVer("0.0.0");if(e.test(r)){return r}r=new SemVer("0.0.0-0");if(e.test(r)){return r}r=null;for(var i=0;i<e.set.length;++i){var s=e.set[i];s.forEach(function(e){var t=new SemVer(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!r||gt(r,t)){r=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}})}if(r&&e.test(r)){return r}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,r){return outside(e,t,"<",r)}t.gtr=gtr;function gtr(e,t,r){return outside(e,t,">",r)}t.outside=outside;function outside(e,t,r,i){e=new SemVer(e,i);t=new Range(t,i);var s,n,o,a,u;switch(r){case">":s=gt;n=lte;o=lt;a=">";u=">=";break;case"<":s=lt;n=gte;o=gt;a="<";u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,i)){return false}for(var p=0;p<t.set.length;++p){var c=t.set[p];var d=null;var l=null;c.forEach(function(e){if(e.semver===Q){e=new Comparator(">=0.0.0")}d=d||e;l=l||e;if(s(e.semver,d.semver,i)){d=e}else if(o(e.semver,l.semver,i)){l=e}});if(d.operator===a||d.operator===u){return false}if((!l.operator||l.operator===a)&&n(e,l.semver)){return false}else if(l.operator===u&&o(e,l.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var r=parse(e,t);return r&&r.prerelease.length?r.prerelease:null}t.intersects=intersects;function intersects(e,t,r){e=new Range(e,r);t=new Range(t,r);return e.intersects(t)}t.coerce=coerce;function coerce(e){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var t=e.match(o[G]);if(t==null){return null}return parse(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}},7032:(e,t,r)=>{"use strict";var i=r(2638);e.exports=function(e){var t=e.match(i);if(!t){return null}var r=t[0].replace(/#! ?/,"").split(" ");var s=r[0].split("/").pop();var n=r[1];return s==="env"?n:s+(n?" "+n:"")}},2638:e=>{"use strict";e.exports=/^#!.*/},4931:(e,t,r)=>{var i=r(2357);var s=r(3710);var n=r(8614);if(typeof n!=="function"){n=n.EventEmitter}var o;if(process.__signal_exit_emitter__){o=process.__signal_exit_emitter__}else{o=process.__signal_exit_emitter__=new n;o.count=0;o.emitted={}}if(!o.infinite){o.setMaxListeners(Infinity);o.infinite=true}e.exports=function(e,t){i.equal(typeof e,"function","a callback must be provided for exit handler");if(u===false){load()}var r="exit";if(t&&t.alwaysLast){r="afterexit"}var s=function(){o.removeListener(r,e);if(o.listeners("exit").length===0&&o.listeners("afterexit").length===0){unload()}};o.on(r,e);return s};e.exports.unload=unload;function unload(){if(!u){return}u=false;s.forEach(function(e){try{process.removeListener(e,a[e])}catch(e){}});process.emit=c;process.reallyExit=p;o.count-=1}function emit(e,t,r){if(o.emitted[e]){return}o.emitted[e]=true;o.emit(e,t,r)}var a={};s.forEach(function(e){a[e]=function listener(){var t=process.listeners(e);if(t.length===o.count){unload();emit("exit",null,e);emit("afterexit",null,e);process.kill(process.pid,e)}}});e.exports.signals=function(){return s};e.exports.load=load;var u=false;function load(){if(u){return}u=true;o.count+=1;s=s.filter(function(e){try{process.on(e,a[e]);return true}catch(e){return false}});process.emit=processEmit;process.reallyExit=processReallyExit}var p=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);p.call(process,process.exitCode)}var c=process.emit;function processEmit(e,t){if(e==="exit"){if(t!==undefined){process.exitCode=t}var r=c.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return r}else{return c.apply(this,arguments)}}},3710:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},5515:e=>{"use strict";e.exports=function(e){var t=typeof e==="string"?"\n":"\n".charCodeAt();var r=typeof e==="string"?"\r":"\r".charCodeAt();if(e[e.length-1]===t){e=e.slice(0,e.length-1)}if(e[e.length-1]===r){e=e.slice(0,e.length-1)}return e}},5030:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var i=_interopDefault(r(4824));function getUserAgent(){try{return`Node.js/${process.version.substr(1)} (${i()}; ${process.arch})`}catch(e){if(/wmic os get Caption/.test(e.message)){return"Windows <version undetectable>"}throw e}}t.getUserAgent=getUserAgent},4207:(e,t,r)=>{e.exports=which;which.sync=whichSync;var i=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys";var s=r(5622);var n=i?";":":";var o=r(7126);function getNotFoundError(e){var t=new Error("not found: "+e);t.code="ENOENT";return t}function getPathInfo(e,t){var r=t.colon||n;var s=t.path||process.env.PATH||"";var o=[""];s=s.split(r);var a="";if(i){s.unshift(process.cwd());a=t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM";o=a.split(r);if(e.indexOf(".")!==-1&&o[0]!=="")o.unshift("")}if(e.match(/\//)||i&&e.match(/\\/))s=[""];return{env:s,ext:o,extExe:a}}function which(e,t,r){if(typeof t==="function"){r=t;t={}}var i=getPathInfo(e,t);var n=i.env;var a=i.ext;var u=i.extExe;var p=[];(function F(i,c){if(i===c){if(t.all&&p.length)return r(null,p);else return r(getNotFoundError(e))}var d=n[i];if(d.charAt(0)==='"'&&d.slice(-1)==='"')d=d.slice(1,-1);var l=s.join(d,e);if(!d&&/^\.[\\\/]/.test(e)){l=e.slice(0,2)+l}(function E(e,s){if(e===s)return F(i+1,c);var n=a[e];o(l+n,{pathExt:u},function(i,o){if(!i&&o){if(t.all)p.push(l+n);else return r(null,l+n)}return E(e+1,s)})})(0,a.length)})(0,n.length)}function whichSync(e,t){t=t||{};var r=getPathInfo(e,t);var i=r.env;var n=r.ext;var a=r.extExe;var u=[];for(var p=0,c=i.length;p<c;p++){var d=i[p];if(d.charAt(0)==='"'&&d.slice(-1)==='"')d=d.slice(1,-1);var l=s.join(d,e);if(!d&&/^\.[\\\/]/.test(e)){l=e.slice(0,2)+l}for(var g=0,m=n.length;g<m;g++){var h=l+n[g];var y;try{y=o.sync(h,{pathExt:a});if(y){if(t.all)u.push(h);else return h}}catch(e){}}}if(t.all&&u.length)return u;if(t.nothrow)return null;throw getNotFoundError(e)}},3515:(e,t,r)=>{"use strict";const i=r(2087);const s=r(5447);const n=new Map([["10.0","10"],["6.3","8.1"],["6.2","8"],["6.1","7"],["6.0","Vista"],["5.2","Server 2003"],["5.1","XP"],["5.0","2000"],["4.9","ME"],["4.1","98"],["4.0","95"]]);const o=e=>{const t=/\d+\.\d/.exec(e||i.release());if(e&&!t){throw new Error("`release` argument doesn't match `n.n`")}const r=(t||[])[0];if((!e||e===i.release())&&["6.1","6.2","6.3","10.0"].includes(r)){let e;try{e=s.sync("wmic",["os","get","Caption"]).stdout||""}catch(t){e=s.sync("powershell",["(Get-CimInstance -ClassName Win32_OperatingSystem).caption"]).stdout||""}const t=(e.match(/2008|2012|2016|2019/)||[])[0];if(t){return`Server ${t}`}}return n.get(r)};e.exports=o},2940:e=>{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach(function(t){wrapper[t]=e[t]});return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r<t.length;r++){t[r]=arguments[r]}var i=e.apply(this,t);var s=t[t.length-1];if(typeof i==="function"&&i!==s){Object.keys(s).forEach(function(e){i[e]=s[e]})}return i}}},978:function(e,t,r){"use strict";var i=this&&this.__awaiter||function(e,t,r,i){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,s){function fulfilled(e){try{step(i.next(e))}catch(e){s(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:true});t.OctokitGitHub=void 0;const s=r(9351);const n=r(2186);class OctokitGitHub{constructor(e){this.workflows=((e,t)=>i(this,void 0,void 0,function*(){return this.octokit.paginate(this.octokit.actions.listRepoWorkflows.endpoint.merge({owner:e,repo:t}))}));this.runs=((e,t,r,s)=>i(this,void 0,void 0,function*(){const i={owner:e,repo:t,workflow_id:s};if(r){i.branch=r}return this.octokit.paginate(this.octokit.actions.listWorkflowRuns.endpoint.merge(i))}));s.Octokit.plugin(r(9968));this.octokit=new s.Octokit({auth:e,throttle:{onRateLimit:(e,t)=>{n.warning(`Request quota exhausted for request ${t.method} ${t.url}`);if(t.request.retryCount===0){n.debug(`Retrying after ${e} seconds!`);return true}},onAbuseLimit:(e,t)=>{n.debug(`Abuse detected for request ${t.method} ${t.url}`)}}})}}t.OctokitGitHub=OctokitGitHub},6747:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseInput=void 0;const r=e=>{var t;const r=e.GITHUB_TOKEN||"";const[i,s]=(e.GITHUB_REPOSITORY||"").split("/");const n=e.GITHUB_WORKFLOW||"";const o=e.GITHUB_HEAD_REF||((t=e.GITHUB_REF)===null||t===void 0?void 0:t.substring(11))||"master";const a=parseInt(e.GITHUB_RUN_ID||"0",10);const u=e["INPUT_POLL-INTERVAL-SECONDS"]?parseInt(e["INPUT_POLL-INTERVAL-SECONDS"],10):60;const p=e["INPUT_CONTINUE-AFTER-SECONDS"]?parseInt(e["INPUT_CONTINUE-AFTER-SECONDS"],10):undefined;const c=e["INPUT_ABORT-AFTER-SECONDS"]?parseInt(e["INPUT_ABORT-AFTER-SECONDS"],10):undefined;if(p!==undefined&&c!==undefined){throw new Error("Only one of continue-after-seconds and abort-after-seconds may be defined")}const d=e["INPUT_SAME-BRANCH-ONLY"]==="true"||!e["INPUT_SAME-BRANCH-ONLY"];return{githubToken:r,owner:i,repo:s,branch:o,workflowName:n,runId:a,pollIntervalSeconds:u,continueAfterSeconds:p,abortAfterSeconds:c,sameBranchOnly:d}};t.parseInput=r},399:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(e,t,r,i){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,s){function fulfilled(e){try{step(i.next(e))}catch(e){s(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())})};Object.defineProperty(exports,"__esModule",{value:true});const core_1=__webpack_require__(2186);const process_1=__webpack_require__(1765);const input_1=__webpack_require__(6747);const github_1=__webpack_require__(978);const wait_1=__webpack_require__(5259);function run(){var e;return __awaiter(this,void 0,void 0,function*(){try{const t=input_1.parseInput(process_1.env);const r=new github_1.OctokitGitHub(t.githubToken);const i=yield r.workflows(t.owner,t.repo);const s=(e=i.find(e=>e.name==t.workflowName))===null||e===void 0?void 0:e.id;if(s){yield new wait_1.Waiter(s,r,t,core_1.info).wait()}}catch(e){core_1.setFailed(e.message)}})}if(require.main===require.cache[eval("__filename")]){run()}},5259:function(e,t,r){"use strict";var i=this&&this.__awaiter||function(e,t,r,i){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,s){function fulfilled(e){try{step(i.next(e))}catch(e){s(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:true});t.Waiter=void 0;const s=r(2186);class Waiter{constructor(e,t,r,n){this.wait=(e=>i(this,void 0,void 0,function*(){if(this.input.continueAfterSeconds&&(e||0)>=this.input.continueAfterSeconds){this.info(`🤙Exceeded wait seconds. Continuing...`);s.setOutput("force_continued","1");return e||0}if(this.input.abortAfterSeconds&&(e||0)>=this.input.abortAfterSeconds){this.info(`🛑Exceeded wait seconds. Aborting...`);s.setOutput("force_continued","");throw new Error(`Aborted after waiting ${e} seconds`)}const t=yield this.githubClient.runs(this.input.owner,this.input.repo,this.input.sameBranchOnly?this.input.branch:undefined,this.workflowId);const r=t.filter(e=>["in_progress","queued"].includes(e.status)).filter(e=>e.id<this.input.runId).sort((e,t)=>t.id-e.id);if(!r||!r.length){s.setOutput("force_continued","");return}const i=r[0];this.info(`✋Awaiting run ${i.html_url} ...`);yield new Promise(e=>setTimeout(e,this.input.pollIntervalSeconds*1e3));return this.wait((e||0)+this.input.pollIntervalSeconds)}));this.workflowId=e;this.input=r;this.githubClient=t;this.info=n}}t.Waiter=Waiter},2877:module=>{module.exports=eval("require")("encoding")},2357:e=>{"use strict";e.exports=require("assert")},3129:e=>{"use strict";e.exports=require("child_process")},8614:e=>{"use strict";e.exports=require("events")},5747:e=>{"use strict";e.exports=require("fs")},8605:e=>{"use strict";e.exports=require("http")},7211:e=>{"use strict";e.exports=require("https")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},1765:e=>{"use strict";e.exports=require("process")},2413:e=>{"use strict";e.exports=require("stream")},8835:e=>{"use strict";e.exports=require("url")},1669:e=>{"use strict";e.exports=require("util")},8761:e=>{"use strict";e.exports=require("zlib")}};var __webpack_module_cache__={};function __webpack_require__(e){if(__webpack_module_cache__[e]){return __webpack_module_cache__[e].exports}var t=__webpack_module_cache__[e]={exports:{}};var r=true;try{__webpack_modules__[e].call(t.exports,t,t.exports,__webpack_require__);r=false}finally{if(r)delete __webpack_module_cache__[e]}return t.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(399)})();